To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 15386
15385  |  15387
Subject: 
Re: New Project: DatShine, LDA, PreL3P, L3P, And POV Involved
Newsgroups: 
lugnet.cad
Date: 
Wed, 9 Jul 2008 02:24:37 GMT
Highlighted: 
(details)
Viewed: 
5969 times
  
In lugnet.cad, Tore Eriksson wrote:
   In lugnet.cad, Matt Wagner wrote:
   In lugnet.cad, Travis Cobbs wrote:
   In lugnet.cad, Tore Eriksson wrote:
   Before running datshine, please enter: C:LDRAW\set LDRAWDIR=C:LDRAW in the same command window. If this fix works, you may edit C:autoexec.bat by adding the line set LDRAWDIR=C:LDRAW and reboot. Then you won’t need to enter this environment string anymore.

Actually, autoexec.bat only works in DOS/Windows9x/WindowsME. In NT/Win2K/XP/Vista, you set environment variables via the System Control Panel. In XP, the following will work (and may work in NT/Win2K/Vista):
  • Bring up the System Control Panel (holding down the Windows/Start key and then hitting Pause/Break is a shortcut to this.)
  • Go to the Advanced tab.
  • Click on the Environment Variables button.
  • Click on either New button (top one for just your user, or the bottom one for all users).
  • Enter LDRAWDIR as the variable name.
  • Enter the path to LDraw as the variable value.
  • Hit OK.
  • Hit OK again.
  • Hit OK again.
--Travis

Thanks, Travis and Tore. I’m able to render something now. But I’m afraid I have some more questions.

1) how do you incorporate the new “lit” part from datshine into a povray file of a model containing several pieces? Would I just find that part that i want lit within the model and replace it with in the new definition? and if so which text in the povray file would I copy and paste?

and

2) Is it possible to light in different colors besides yellow?

anyways, hope I’m not asking too much, since you are offering all your work and your program free of charge. Look forward to hearing from you after christmas, and merry christmas to you!

-matt

Merry Christmas to you, too. Don’t be afraid to ask, we’re happy to help each other-

1) Sounds like you postprocess pov-files. Absolutely nothing wrong with that! We’ve had some discussions here on lugnet.cad and both ways have their pros and cons. I prefer to do as much as poosible *before* running the model through L3P, as I find this approch easier. DatShine and, as the name suggests, PreL3P are both oriented in the pre-L3P way.

Yes, it is possible to replace an official part with a part made by DatShine in the pov-file - if you’ve made a lot of other postprocessing and don’t wish to start from the .ldr model again. But I won’t explain that process until I have to. :)

It’s a lot easier to make the replacements in the .ldr model file, using ML-Cad, Notepad or your editor of choise. Say you have a couple of 3005.dat you want lit. Create 3005L46.dat using DatShine and store it in your Parts folder. Then replace the corresponding references to 3005.dat in your .ldr file with 3005L46.dat, and run the model file through L3P. That’s it. The new pov file will have shining 3005’s where you replaced the references without and postprocessing of the pov-file.

2) Yes, it is possible, and I’ve already made some other texture definition files besides L46.ldr (=yellow light). But they are in my old PC, not yet migrated into my new. I will publish them later. Oh, now I see I have already published two of them: TransRed Light http://web.telia.com/~u66203131/LDraw/datshine/L36.ldr Clear Light http://web.telia.com/~u66203131/LDraw/datshine/L47.ldr Right click on the links one at the time and select Save As...

More definition files will come...

Keep experimenting, and don’t be afraid to keep asking!

/Tore

Hi Tore, I’ve done some digging with Datshine again recently and came up with some interesting renders using your program. I was able to make the equivalent dat files in other colors by copying your examples in L46 and L47 to make a light blue version, L41. This, along with changing the constant multiplied in front of the RGB of the code for that file in pov-ray to a bigger number has allowed me to create a lightsaber for a star wars vignette with some bright looking ambient light from the saber itself!

here’s a link to the renders: http://flickr.com/photos/jedimasterwagner/sets/72157606060131284/

just thought you’d be interested to see some of the neat things your program can do. thanks, matt wagner



Message has 1 Reply:
  Re: New Project: DatShine, LDA, PreL3P, L3P, And POV Involved
 
(...) Yeah! SW Light sabres! Such a brilliant idea. The only bad thing is: Why didn't I think of it first? ;) You may wish to replace the official 16-edged minifig heads with perfetly round ones, too: (URL) more in my 16 replies to this post: (URL) (16 years ago, 9-Jul-08, to lugnet.cad)

Message is in Reply To:
  Re: New Project: DatShine, LDA, PreL3P, L3P, And POV Involved
 
(...) Merry Christmas to you, too. Don't be afraid to ask, we're happy to help each other- 1) Sounds like you postprocess pov-files. Absolutely nothing wrong with that! We've had some discussions here on lugnet.cad and both ways have their pros and (...) (17 years ago, 25-Dec-07, to lugnet.cad, FTX)

11 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