To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 2115
2114  |  2116
Subject: 
Re: Annoying Reflections
Newsgroups: 
lugnet.cad.ray
Date: 
Sat, 28 Feb 2004 11:15:21 GMT
Viewed: 
1561 times
  
In lugnet.cad.ray, Mike Thorn wrote:

It has a terrible reflection.


2 options (apart from Todd's suggestion):

1. Turn the QUAL value to 1 (first uncommented line on any L3P-generated file)
QUAL 2 simply(?) *adds reflections* to parts, while QUAL 3 adds reflections and
Lego logos to their studs

2. Look in the color definition block. Each color looks something similar to
this:

#ifndef (Color7)
#declare Color7 = #if (version >= 3.1) material { #end texture {
pigment { rgb <0.682353,0.682353,0.682353> }
finish { ambient AMB diffuse DIF }
#if (QUAL > 1)
finish { phong 0.5 phong_size 40 reflection 0.08 }
#if (BUMPS) normal { BUMPNORMAL } #end
#end
} #if (version >= 3.1) } #end
#end


Simply get rid of the *reflection* setting. The advantage is that this way you
can have some shiny and some matt surrfaces.

PS: Since most likely you're going to be #including this file ;-) take into
account that each #include file can have it's own QUAL setting.



Message has 1 Reply:
  Re: Annoying Reflections
 
(...) Thanks Todd. I never thought of using normals to diffuse reflections. Actually, some turbulence normals might look good on the brown, since it's supposed to be dirt. (...) Already using that. :( (...) I tried that with the last MLCAD scene but (...) (21 years ago, 28-Feb-04, to lugnet.cad.ray, FTX)

Message is in Reply To:
  Annoying Reflections
 
Hello all, It's 12:32am right this minute, so this is going to be very short. My bedtime was a looong time ago. But the last thirty minutes have been well-spent: I've redesigned an MLCAD scene and it looks much, much better. Except for one thing. It (...) (21 years ago, 28-Feb-04, to lugnet.cad.ray, FTX)

7 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR