Welcome! Log In Create A New Profile

Advanced
Re: OpengGL color / material properties
avatarSeptember 06, 2013 02:46PM
Indeed. In fact, I think the scoping rules from !TEXMAP would apply equally well to any new command that specifies surface roughness. I could even see creating a !BUMPMAP meta-command that behaves just like !TEXMAP, except applying a bump-map, but with the addition of allowing for succinct specification of a procedural bump map for slopes, instead of always requiring an image file. An appropriate image file could be used for stud logos, and procedural guidelines for rough slopes. For example, the POV code used for bumpy slopes coming out of LDView is normal { bumps 0.3 scale 25*0.2 }.

Note: I've never actually done bump-mapping, so I'm not sure an actual image file is used, since those would typically only give 8 bits of precision to each of the X, Y, and Z components of the surface normals. However, I do know that something very like an image file is used, where each "pixel" specifies a surface normal modifier, instead of a color.

Edited 1 time(s). Last edit at 2013-09-06 02:48PM by Travis Cobbs.
SubjectAuthorViewsPosted
OpengGL color / material properties Roland Melkert341August 25, 2013 12:45PM
Re: OpengGL color / material properties Ben Supnik144August 25, 2013 03:33PM
Re: OpengGL color / material properties Roland Melkert132August 25, 2013 04:27PM
Re: OpengGL color / material properties Travis Cobbs143August 26, 2013 01:12PM
Re: OpengGL color / material properties Roland Melkert154August 26, 2013 03:59PM
Re: OpengGL color / material properties Roland Melkert140September 03, 2013 09:47AM
Re: OpengGL color / material properties Travis Cobbs135September 03, 2013 12:26PM
Re: OpengGL color / material properties Roland Melkert141September 04, 2013 11:45AM
Re: OpengGL color / material properties Ben Supnik141September 03, 2013 01:07PM
Re: OpengGL color / material properties Roland Melkert139September 04, 2013 11:49AM
Re: OpengGL color / material properties Ben Supnik156September 04, 2013 07:02PM
Re: OpengGL color / material properties Roland Melkert116September 05, 2013 09:32AM
Re: OpengGL color / material properties Steffen148September 05, 2013 02:08PM
Re: OpengGL color / material properties Ben Supnik115September 05, 2013 07:33PM
Re: OpengGL color / material properties Travis Cobbs104September 06, 2013 09:52AM
Re: OpengGL color / material properties Steffen113September 06, 2013 12:26PM
Re: OpengGL color / material properties Steffen111September 06, 2013 12:27PM
Re: OpengGL color / material properties Travis Cobbs123September 06, 2013 01:07PM
Re: OpengGL color / material properties Ben Supnik147September 06, 2013 02:14PM
Re: OpengGL color / material properties Travis Cobbs178September 06, 2013 02:46PM
Re: OpengGL color / material properties Ben Supnik172September 06, 2013 05:04PM
Re: OpengGL color / material properties Travis Cobbs149September 06, 2013 07:30PM
Re: OpengGL color / material properties Ben Supnik192September 07, 2013 05:16PM
Re: OpengGL color / material properties Allen Smith128September 05, 2013 10:03AM



Sorry, only registered users may post in this forum.

Click here to login