instantreality forum
news: Welcome to the instantreality forums!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
January 17, 2018, 08:23:05 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: How to render objects as wire-frame?  (Read 2560 times)
Thomas
Newbie
*
Posts: 21


View Profile
« on: February 28, 2011, 06:26:32 pm »

Hi all,

I want to draw an object as wire-frame. The rest of the scene should be rendered "normal". I only found an option to render the whole scene as wire-frame:

Code:
Environment {
  polygonMode line
}

Does something similar exist also for single objects?

Best wishes,
Thomas
Logged
jbehr
Administrator
Full Member
*****
Posts: 155


View Profile
« Reply #1 on: February 28, 2011, 07:28:09 pm »

typed from my head:

<AppearanceGroup>
 <Appearance containterField='appearance'>
    <FaceMode frontMode='line' .../>
 </Appearance>
 < ... your stuff ... >
</AppearanceGroup>

best regards
johannes
Logged
Thomas
Newbie
*
Posts: 21


View Profile
« Reply #2 on: March 01, 2011, 09:42:13 am »

Dear Johannes,

thanks a lot! It works. I had to set the backMode to line, too:

Code:
faceMode FaceMode {
  frontMode line
  backMode line
}

Best wishes,
Thomas
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.15 | SMF © 2011, Simple Machines