Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography



Maxunderground news unavailable

Spline constant thickness in camera
show user profile  magarlick
Dear all

Does anybody know how to render a spline such that its thickness along its entire length is constant, regardless of distance from the camera? I imagine a float script controller assigned to the Thickness in curves would do it but don't know the syntax.

Many thanks.

M.

-------

DR MARK A. GARLICK, Director
Mark Garlick Words and Pictures Ltd http://www.markgarlick.com/
http://www.space-art.co.uk/
https://www.youtube.com/user/magarlick
read 372 times
2/5/2016 1:29:35 PM (last edit: 2/5/2016 1:29:35 PM)
show user profile  chillywilson
in editable spline, in the mod section go check enable in render and enable in viewport then you can set the thickness.

read 359 times
2/5/2016 3:13:29 PM (last edit: 2/5/2016 3:13:29 PM)
show user profile  S. Silard
I think what he's asking is, how to make it appear same pixel width on render, regardless of distance.

Congrats, you found my signature.

read 351 times
2/5/2016 3:47:51 PM (last edit: 2/5/2016 3:47:51 PM)
show user profile  herfst1
What about cheating and using bloom with a hard falloff? Just a random idea, but could maybe work.
read 349 times
2/5/2016 3:49:10 PM (last edit: 2/5/2016 3:49:10 PM)
show user profile  S. Silard
@ Magarlick Which renderer? Maybe a wireframe material assigned to it, with pixel width adjustment should do the job. Not the most elegant solution. But it works.

Congrats, you found my signature.

read 348 times
2/5/2016 3:49:33 PM (last edit: 2/5/2016 3:49:33 PM)
show user profile  Garp
The question is a little vague.

Do you want a constant thickness along the whole spline that would depend on the distance between the camera and, say, the spline's pivot, or closest point, or bounding box center, etc?
Or do you also want the thickness to vary along the spline, based on the distance of every part of the spline to the camera?

There are solutions for both but they're different.




read 330 times
2/5/2016 5:27:07 PM (last edit: 2/5/2016 5:27:07 PM)
show user profile  chillywilson
Oh forcing pixel perspective for distance.
I'm sure writing a script would be the best bet, but since I don't know how I would do what hefst said and bloom it, or convert and modify it.
read 328 times
2/5/2016 5:29:53 PM (last edit: 2/5/2016 5:29:53 PM)
show user profile  chillywilson
Oh forcing pixel perspective for distance.
I'm sure writing a script would be the best bet, but since I don't know how I would do what hefst said and bloom it, or convert and modify it.
read 328 times
2/5/2016 5:29:53 PM (last edit: 2/5/2016 5:29:53 PM)
show user profile  chillywilson
Ok that's weird I only hit reply once.


read 325 times
2/5/2016 5:30:30 PM (last edit: 2/5/2016 5:30:30 PM)
show user profile  mike_renouf
Is it possible to change camera to orthographic settings? That would keep the thickness constant? I pose this as a question because I've never done it.




read 312 times
2/5/2016 6:37:10 PM (last edit: 2/5/2016 6:37:10 PM)
show user profile  magarlick
Garp, I want the thickness of the spine to vary along its length, so that the entire spline has a constant thickness regardless of distance from the camera. In other words, the second of your two choices. Apologies for not being clearer and thanks to you (and others) for responding.

-------

DR MARK A. GARLICK, Director
Mark Garlick Words and Pictures Ltd http://www.markgarlick.com/
http://www.space-art.co.uk/
https://www.youtube.com/user/magarlick
read 302 times
2/5/2016 9:15:28 PM (last edit: 2/5/2016 9:15:28 PM)
show user profile  S. Silard
@ magarlick Just checked your website, and I have to say; You have some damn good artwork there!

Congrats, you found my signature.

read 296 times
2/6/2016 12:29:47 AM (last edit: 2/6/2016 12:29:47 AM)
#Maxforums IRC
Open chat window


Support Maxforums.org