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 / 424
423  |  425
Subject: 
Re: Can LDAO do this? (was: anyone interested in rendering for me?)
Newsgroups: 
lugnet.cad.ray, lugnet.cad.dev
Date: 
Wed, 12 Jul 2000 19:15:02 GMT
Viewed: 
1312 times
  
Fredrik Glöckner <fredrik.glockner@bio.uio.no> writes:

It is much more sane to use POV-Ray's animation system to do this
automatically.  That way, you could issue one POV-Ray command and render
all the instruction steps in one run, using only one POV-file.

I suppose some of you may want to try this out, so do something like
this with your POV-Ray file, as generated by L3P.  Identify the portion
of the file where the "0 STEP" lines are present and add #if and #end
statements like this:

    // [DAT lines in step 1]
    // 0 STEP
    #if (clock > 1)
    // [DAT lines in step 2]
    // 0 STEP
    #end
    #if (clock > 2)
    // [DAT lines in step 3]
    // 0 STEP
    #end
    #if (clock > 3)
    // [DAT lines in step 4]
    // 0 STEP
    #end
    :
    :

The instruction images can then be generated with POV-Ray's built in
animation capability

   povray +I lego.pov +O lego.png +W400 +H300 -J +KFI1 +KFF17 +KI1 +KF17

to render 17 steps, say.  The output images will be numbered lego01.png,
lego02.png, ..., lego17.png.

(These are UNIX style command line options.  I really have no idea what
this looks like in the Windows world.  Check the manual.)

Fredrik



Message has 2 Replies:
  Re: Can LDAO do this? (was: anyone interested in rendering for me?)
 
(...) The main file for, say, SKETCH.DAT, shows up as a union block named sketch_dot_dat. I suppose that a post-l3p tool could just read in the POV output file and parse this union and insert the clock-checking logic. The same tool could also spit (...) (24 years ago, 12-Jul-00, to lugnet.cad.ray, lugnet.cad.dev)
  Re: Can LDAO do this? (was: anyone interested in rendering for me?)
 
Well... I know it's been a while... Anyway, it seems that you guys picked up on it and now the answer is easy 'cause -sc "#if (clock > n)" has been added to L3PAO. Thank You, Thank You, Thank You. However I'm having trouble with telling POV-Win to (...) (23 years ago, 20-Nov-01, to lugnet.cad.ray, lugnet.cad.dev)

Message is in Reply To:
  Re: Can LDAO do this? (was: anyone interested in rendering for me?)
 
(...) It is much more sane to use POV-Ray's animation system to do this automatically. That way, you could issue one POV-Ray command and render all the instruction steps in one run, using only one POV-file. I have suggested this to Lars C Hassing, (...) (24 years ago, 12-Jul-00, to lugnet.cad.ray, lugnet.cad.dev)

15 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