Curve projection from a perspective camera

161 views
Skip to first unread message

joiec...@gmail.com

unread,
Apr 27, 2021, 12:28:11 AM4/27/21
to maya_he3d
Hi there people,
I need to project a specific pattern on a surface, but I need to do that from a perspective camera. And as far as I know, curve projection can only be made from orthographic cameras, not perspective ones.
Any ideas to solve the problem?
Thanks in advance.

stephenkmann

unread,
Apr 27, 2021, 2:25:19 PM4/27/21
to maya...@googlegroups.com
I'd probably project an image from the same camera of the curve. 
and then use that as a guide to slide the curves around on the surface to match.. 

or. maybe use a lattice to counter the "perspective" of the camera and make the surface orthangonal. .
 project the curves on to the surface, kill the history, and un-deform the lattice.

-=s

--
You received this message because you are subscribed to the Google Groups "maya_he3d" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maya_he3d+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maya_he3d/679bd610-7f2e-43fb-983f-7db594e128ecn%40googlegroups.com.


--

joie

unread,
Apr 28, 2021, 7:48:17 AM4/28/21
to maya...@googlegroups.com
First option is the one I thought of, thanks!

You received this message because you are subscribed to a topic in the Google Groups "maya_he3d" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maya_he3d/b-ZjezQSXoE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maya_he3d+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/maya_he3d/CAASZO1cmBu5tPAPzc-rdYhOU7woMsus1H82HHOAAv%2BGR1ZRq4A%40mail.gmail.com.


--
Visita mi blog: 3djoie.blogspot.com

matt estela

unread,
Apr 28, 2021, 4:42:22 PM4/28/21
to maya...@googlegroups.com
Must... resist... smug... houdini.... arrgh:


Srsly though, isn't bifrost pushing into more houdini style 'everything is points and attributes' style workflows, not just simulation? Surely this would be possible in that shiny new framework right?




bobrobertuma

unread,
Apr 29, 2021, 2:06:37 AM4/29/21
to maya...@googlegroups.com

Resistance… was…futile…

ronviers

unread,
Apr 29, 2021, 4:35:20 AM4/29/21
to maya...@googlegroups.com
maybe an option would be to take the curve and place another curve with the same parameterization scaled to zero at the camera's node, then loft (and hide) a surface between them. An intersect node added to the lofted surface and a plane orthogonal to the camera will reproduce the curve in screen space

Anthony Enos

unread,
Apr 29, 2021, 9:38:34 AM4/29/21
to maya...@googlegroups.com
I think there’s something to that, but I might be missing something regarding getting the curve projected onto a surface that’s not orthogonal to camera. This may be silly, but... It did make me think of generating paint fx curves at intersections. The lofted surface intersecting the geometry should produce some curves via paint fx. I’m assuming the first curve for the lofted surface would have to be perpendicular to camera and fit the film gate, and the second scaled to match the camera’s FOV at a distance intersecting the geometry. Also, yeah probably Houdini, haha.

On Apr 29, 2021, at 1:35 AM, ronviers <ronv...@gmail.com> wrote:



stephenkmann

unread,
Apr 29, 2021, 1:23:37 PM4/29/21
to maya...@googlegroups.com
or blender 

stephenkmann

unread,
Apr 30, 2021, 5:49:52 AM4/30/21
to maya...@googlegroups.com
That's cool, 
But I'm not sure it helps in this situation, he is projecting curves onto an object. and wants the projection to be from perspective as it hits the object.  
Maybe there is a different way to do it in houdini.  

oh, wait.,.  Joe what about just duplicating the curves you are projecting and Scaling them out to match the camera's frustrum.  then loft between and use the loft as an intersect . 


And wow houdini is up to almost $5000 for a yearly license?!  




joie

unread,
Apr 30, 2021, 8:53:55 AM4/30/21
to maya...@googlegroups.com
Yep, that sound like an option. Luckily my client changed his mind and I haven't got to do it that way LOL

Libre de virus. www.avast.com

matt estela

unread,
Apr 30, 2021, 8:55:27 AM4/30/21
to maya...@googlegroups.com
Oh it totally doesn't solve this specific question, but it's indicative of the toolbox houdini gives you. Draw curves on a plane, project from an arbitrary camera onto geo, get the uv's of those hitpoints, generate a texture from the projected curve, blah blah... hours of pointless card tricks to impress no-one.

The full package is still expensive, but there's a few tiers now; core for 2k which remove the sim tools (tho a lot have been wrapped up and 'assetised' so you can still do a lot of fire, cloth, smoke, rbd etc in it), a $300 one if you earn less than 100k, and a free learning one. There's monthly rentals too, but I don't know what they cost.



bobrobertuma

unread,
Apr 30, 2021, 9:44:48 AM4/30/21
to maya...@googlegroups.com

I’d jump to Houdini if I knew it or had time to learn just as it still offers a perpetual license.  Putting this as a priority for this first half of the year.

 

From: maya...@googlegroups.com [mailto:maya...@googlegroups.com] On Behalf Of matt estela
Sent: Friday, April 30, 2021 6:55 AM
To: maya...@googlegroups.com
Subject: Re: [maya_he3d] Curve projection from a perspective camera

 

Oh it totally doesn't solve this specific question, but it's indicative of the toolbox houdini gives you. Draw curves on a plane, project from an arbitrary camera onto geo, get the uv's of those hitpoints, generate a texture from the projected curve, blah blah... hours of pointless card tricks to impress no-one.

matt estela

unread,
Apr 30, 2021, 10:01:32 AM4/30/21
to maya...@googlegroups.com
Yeah I was the same for years, I didn't have a need to learn it, so didn't start for ages.

Once I finally jumped in though, I definitely thought 'aw man, I wish I got into this sooner'. Put it another way, I don't think I've heard anyone say 'ugh, stupid houdini, i'm so glad i left it and picked up <package x> instead'. There's a ridiculous, irritatingly high level of satisfied smuggery that doesn't exist in other dcc's.



bobrobertuma

unread,
Apr 30, 2021, 11:41:03 AM4/30/21
to maya...@googlegroups.com

Is the base version pretty good or if you’re a Maya user moving to Houdini will you be bummed and wishing you had the full 5k version?  It’s hard to know this without really knowing Houdini IMO.

sid

unread,
Apr 30, 2021, 11:47:43 AM4/30/21
to maya...@googlegroups.com
You'd be more than fine on Houdini Core for at least a year or two whilst you're learning the fundamentals. As Matt says, you can still do simulations in Houdini Core, but you're restricted by what you can do, so they tend to be more primitive. Houdini FX unlocks a lot of the more complicated simulation nodes that allow you to really go in and art direct the crap out of your sims. Not really necessary whilst you're learning.

Do it! Get involved! Can honestly say that I'm a happier person since I've been using it :-D

bobrobertuma

unread,
Apr 30, 2021, 12:35:59 PM4/30/21
to maya...@googlegroups.com

You and Matt have sold me on giving Core Houdini an honest go finally.  I’m not the type to try for 30 days buy.  I have to research then pull trigger and purchase to commit to learning.  Personal flaw I have.

 

Thanks for the inputs

bobrobertuma

unread,
Apr 30, 2021, 12:38:47 PM4/30/21
to maya...@googlegroups.com

Does a Highend3d Maya List Server type thing exist for Houdini?

sid

unread,
Apr 30, 2021, 12:45:40 PM4/30/21
to maya...@googlegroups.com
Time to start [houdini_he3d], Matt!

matt estela

unread,
Apr 30, 2021, 9:12:33 PM4/30/21
to maya...@googlegroups.com
Ha, I could, but I think there's a few preexisting solutions that could fit the bill:

-sidefx run a mailing list, but its super low traffic these days, practically dead. I get maybe one email very couple of months, but even the website link to it seems broken, so I suspect its slowly being killed off anyway: https://www.sidefx.com/mailing-list/
-sidefx forums, very busy, lots of the devs hang out there, folk like me get a perverse pleasure hanging out there a lot and answering every question we can: https://www.sidefx.com/forum/
-odforce, an independent forum, also very busy, less of the devs hang out there, but loads of quality info and answers going back 20+ years: http://forums.odforce.net/
-discord/slack, the new hotness, these are popping up like mushrooms. The tone of these can be tricky, too much traffic and its overwhelming, too little and people are afraid to post. I run a discord for patreon/paypal supporters, I pretty much let anyone in no matter how little they pay, its more that sense of a tiiiny bit of money investment keeps the riffraff out. I think its pretty good, but I would say that wouldn't I? https://www.tokeru.com/cgwiki/index.php?title=Support

But hey, I have a special place in my heart for the original hardcore he3d massive. If you buzz me directly on ma...@tokeru.com, I'm sure we can work something out. :)

-matt

 

desig...@gmail.com

unread,
May 1, 2021, 9:47:08 PM5/1/21
to maya...@googlegroups.com
I used Houdini apprentice for a while to learn the basics, and I bought a real lisense this year for the first time. I've only used it on one project, and that's a bit frustrating. It's really hard to make the leap unless you are really motivated or really pissed off at autodesk, which is not too hard to imagine. 

It really comes down to the moment you get a job, and you need to figure out how you're going to pull it off. For the most part, I'm capable of pulling it all off in Maya happily, knowing that if I did it in Houdini, I would end up with more control, and an elegant solution, but it would take twice as long to get there. I always end up going with what I know best. 

R



joie

unread,
May 2, 2021, 11:44:38 PM5/2/21
to maya...@googlegroups.com
I guess Bifrost in MAYA is the way to go, but I weel like a complete noob inside it man!

Libre de virus. www.avast.com



--
Visita mi blog: 3djoie.blogspot.com

Jon Parker

unread,
May 4, 2021, 7:49:11 AM5/4/21
to maya...@googlegroups.com
Unfortunately I don't have any real Maya-centric solutions to the problem here (yes, I do have a Houdini answer...).  However, I'm inspired.  The next time I need to open a late-version Maya for a job, I am immediately going to see if Bifrost can solve this problem.

Cheers,
Jon

hernan.s...@gmail.com

unread,
May 12, 2021, 12:01:52 AM5/12/21
to maya_he3d

bobrobertuma

unread,
May 12, 2021, 12:44:16 PM5/12/21
to maya...@googlegroups.com

Thanks for follow up link.

 

From: maya...@googlegroups.com [mailto:maya...@googlegroups.com] On Behalf Of hernan.s...@gmail.com
Sent: Tuesday, May 11, 2021 10:02 PM
To: maya_he3d <maya...@googlegroups.com>
Subject: Re: [maya_he3d] Curve projection from a perspective camera

 

On Tuesday, May 4, 2021 at 4:49:11 AM UTC-7 jon wrote:

Unfortunately I don't have any real Maya-centric solutions to the problem here (yes, I do have a Houdini answer...).  However, I'm inspired.  The next time I need to open a late-version Maya for a job, I am immediately going to see if Bifrost can solve this problem.

 

Cheers,

Jon

 

On Mon, May 3, 2021 at 12:44 PM joie <joiec...@gmail.com> wrote:

I guess Bifrost in MAYA is the way to go, but I weel like a complete noob inside it man!

Anthony Enos

unread,
May 14, 2021, 5:46:16 AM5/14/21
to maya...@googlegroups.com
I finally tried my silly paint FX intersection idea I mentioned... and it works :) Took just a few minutes this way. Scene attached. Since it's parented to the camera, you can adjust everything as you go and the curve intersections stay live. When you're done, you can just convert the pfx curves to nurbs curves.
projection.JPG
projection02.JPGprojection03.JPG

pfxProject.ma

joie

unread,
May 14, 2021, 6:08:03 AM5/14/21
to maya...@googlegroups.com
There are no silly solutions, just the ones that work or not.
Thanks! :)

bobrobertuma

unread,
May 14, 2021, 10:13:42 AM5/14/21
to maya...@googlegroups.com
image001.jpg
image002.jpg
image003.jpg
Reply all
Reply to author
Forward
0 new messages