Rendering LDraw models using POV-Ray
#51
Posted 28 February 2012 - 04:56 PM
#52
Posted 28 February 2012 - 09:49 PM
TK-949, on 28 February 2012 - 04:56 PM, said:
The easiest way to manually fix this is to go to Search > Replace and then paste LDX_1_dash_16rin19_dot_dat_in_part into "Find" and LDX_1_dash_16ri19_dot_dat_in_part into "Replace with" and then click Replace All. When you try to run the render, it should now work without issue.
The actual LDraw file that POV-Ray is trying to recreate is called "1-16ri19.dat", and LDView seems to add an "n" to a couple of instances of this within the POV-Ray file.
Rendering tip: The LDraw colour palette contains definitions for rubber colours. If tyres are set to colour 256 (Rubber Black), they will look more like rubber when it comes to rendering.
#53
Posted 29 February 2012 - 12:48 AM
C3POwen, on 28 February 2012 - 09:49 PM, said:
The easiest way to manually fix this is to go to Search > Replace and then paste LDX_1_dash_16rin19_dot_dat_in_part into "Find" and LDX_1_dash_16ri19_dot_dat_in_part into "Replace with" and then click Replace All. When you try to run the render, it should now work without issue.
The actual LDraw file that POV-Ray is trying to recreate is called "1-16ri19.dat", and LDView seems to add an "n" to a couple of instances of this within the POV-Ray file.
But there is no "n" in the line in question...
#54
Posted 29 February 2012 - 10:05 AM
TK-949, on 29 February 2012 - 12:48 AM, said:
Did you try the fix that I suggested?
Rendering tip: The LDraw colour palette contains definitions for rubber colours. If tyres are set to colour 256 (Rubber Black), they will look more like rubber when it comes to rendering.
#55
Posted 29 February 2012 - 12:58 PM
C3POwen, on 29 February 2012 - 10:05 AM, said:
Did you try the fix that I suggested?
Yes, and it worked. Thank you.
Another thing. Transparent-Black looks almost opaque (although very "glossy") in my renders. Any suggestion how to fix this? I've placed Han and Chewie in the cockpit, but all you see is black
Edited by TK-949, 29 February 2012 - 12:59 PM.
#56
Posted 29 February 2012 - 01:25 PM
I hava a problem, maybe someone here can help me.
When I insert a TECHNIC flex system hose into my model (from part file or with LSynth) both ends disappear when I render it. In LDView, and in MLCad it looks complete and good, but in SR3D and when rendering the hose both ends disappear.
Like here at the drain pipe:
#57
Posted 29 February 2012 - 06:53 PM
TK-949, on 29 February 2012 - 12:58 PM, said:
whitew0lf, on 29 February 2012 - 01:25 PM, said:
Are the hose ends set to be hidden within MLCad? Do you have an example LDR file I could look at?
Rendering tip: The LDraw colour palette contains definitions for rubber colours. If tyres are set to colour 256 (Rubber Black), they will look more like rubber when it comes to rendering.
#58
Posted 01 March 2012 - 09:17 AM
C3POwen, on 29 February 2012 - 06:53 PM, said:
I don't believe SR 3D Builder supports anything generated using LSynth, but if you export the model from LDView to POV-Ray, then it should work.
Are the hose ends set to be hidden within MLCad? Do you have an example LDR file I could look at?
Actually SR3D shows some part of the hose (nearly the same as in the render).
Here is the LSynth version of the building floor:
LDR
If you change it to the official "Technic Flex-system hose 9L 76324.dat" it is the same. I looked into the model file but only the Lsynth waypoints are hidden.
#59
Posted 01 March 2012 - 01:50 PM
palathadric, on 27 February 2012 - 08:30 AM, said:



I used, quite obviously. Different lightings for the different renderings, but which one would you say looks the best? The colours are not right, and I suppose once you have them it will be then I will still have to work on the lighting to make sure it looks right with the particular colour.
The first one is a render with a transparent background, supposedly, but it doesn't really seem transparent and Photoshop did not recognize it as being transparent, either.
Lost in Masked Builder's "Jedi Temple" Mafia Game, as Obi-Wan Kenobi: Town (Vanilla)
Lynched on Day 2 of Bob's "Excalibur 2.0" Mafia Game as Ensign Brian Pewter: Town (Vanilla)
Won in TinyPiesRUs' "Ragnarok Now" Mafia Game, as Patrekr the Red: Town (Paranoid Axe Owner)
Killed by the Vigilante in Bob's "The Pearl" Mafia Game as Timothy: Town (Vanilla)
Lynched on Day 3 in Def's "Eurobricks II" Mafia Game as Li'l Palathadric: Town (Vanilla)
Lynched on Day 5 of Hinckley's "Harriet Slutter and the Philosopher's Balls" Mafia Game as Drubulum Panck: Town (Bodyguard)

Playing in Heroica as Monk Pretzel and his 99 Pieces, a Level 16 Paladin
Heroica Stats
Brickshelf Account
See my work in the Official Lego sets made in LDraw topic
#60
Posted 01 March 2012 - 05:08 PM
Official Sets Made In LDraw;
post your official LEGO models in this topic!
Brickset Flickr
Youtube Brickshelf
My motto this year: More building, less thinking!
#61
Posted 01 March 2012 - 08:22 PM
whitew0lf, on 01 March 2012 - 09:17 AM, said:
If you change it to the official "Technic Flex-system hose 9L 76324.dat" it is the same. I looked into the model file but only the Lsynth waypoints are hidden.

I didn't modify the file that LDView created in any way, nor the LDR file before exporting it, and it seemed to work without issue. As the POV-Ray file is based on what LDView shows, I'm not quite sure what to suggest. Has everything been installed in the way shown at the beginning of the guide? Is LSynth installed in a different location?
palathadric, on 01 March 2012 - 01:50 PM, said:
It needs to be placed into the "lg" folder within the LGEO directory, for example: "C:\Program Files\LDRAW\LGEO\lg"
palathadric, on 01 March 2012 - 01:50 PM, said:
legolijntje, on 01 March 2012 - 05:08 PM, said:
Edited by C3POwen, 01 March 2012 - 10:27 PM.
Rendering tip: The LDraw colour palette contains definitions for rubber colours. If tyres are set to colour 256 (Rubber Black), they will look more like rubber when it comes to rendering.
#62
Posted 01 March 2012 - 11:44 PM
C3POwen, on 01 March 2012 - 08:22 PM, said:
C3POwen, on 01 March 2012 - 08:22 PM, said:
It needs to be placed into the "lg" folder within the LGEO directory, for example: "C:\Program Files\LDRAW\LGEO\lg"
C3POwen, on 01 March 2012 - 08:22 PM, said:
Once again, thanks a lot C3POwen!
Lost in Masked Builder's "Jedi Temple" Mafia Game, as Obi-Wan Kenobi: Town (Vanilla)
Lynched on Day 2 of Bob's "Excalibur 2.0" Mafia Game as Ensign Brian Pewter: Town (Vanilla)
Won in TinyPiesRUs' "Ragnarok Now" Mafia Game, as Patrekr the Red: Town (Paranoid Axe Owner)
Killed by the Vigilante in Bob's "The Pearl" Mafia Game as Timothy: Town (Vanilla)
Lynched on Day 3 in Def's "Eurobricks II" Mafia Game as Li'l Palathadric: Town (Vanilla)
Lynched on Day 5 of Hinckley's "Harriet Slutter and the Philosopher's Balls" Mafia Game as Drubulum Panck: Town (Bodyguard)

Playing in Heroica as Monk Pretzel and his 99 Pieces, a Level 16 Paladin
Heroica Stats
Brickshelf Account
See my work in the Official Lego sets made in LDraw topic
#63
Posted 02 March 2012 - 12:24 PM
C3POwen, on 01 March 2012 - 08:22 PM, said:
I didn't modify the file that LDView created in any way, nor the LDR file before exporting it, and it seemed to work without issue. As the POV-Ray file is based on what LDView shows, I'm not quite sure what to suggest. Has everything been installed in the way shown at the beginning of the guide? Is LSynth installed in a different location?
Okay I looked through the whole POV-Ray file, but did not find anything. So I uninstalled and re-installed LDView, and now it is okay.
Thanks for the help!
Edited by Calabar, 02 March 2012 - 12:32 PM.
Quoted image removed
#64
Posted 02 March 2012 - 04:22 PM
whitew0lf, on 02 March 2012 - 12:24 PM, said:
Thanks for the help!
Lost in Masked Builder's "Jedi Temple" Mafia Game, as Obi-Wan Kenobi: Town (Vanilla)
Lynched on Day 2 of Bob's "Excalibur 2.0" Mafia Game as Ensign Brian Pewter: Town (Vanilla)
Won in TinyPiesRUs' "Ragnarok Now" Mafia Game, as Patrekr the Red: Town (Paranoid Axe Owner)
Killed by the Vigilante in Bob's "The Pearl" Mafia Game as Timothy: Town (Vanilla)
Lynched on Day 3 in Def's "Eurobricks II" Mafia Game as Li'l Palathadric: Town (Vanilla)
Lynched on Day 5 of Hinckley's "Harriet Slutter and the Philosopher's Balls" Mafia Game as Drubulum Panck: Town (Bodyguard)

Playing in Heroica as Monk Pretzel and his 99 Pieces, a Level 16 Paladin
Heroica Stats
Brickshelf Account
See my work in the Official Lego sets made in LDraw topic
#65
Posted 02 March 2012 - 05:34 PM
C3POwen, on 29 February 2012 - 06:53 PM, said:
I'm using MLCad and always take 40 for Trans Black. After I replaced the lg_colors.inc with your file it worked. Now you can actually see, what happens in the cockpit.
#66
Posted 03 March 2012 - 02:22 AM
(2 minutes later):
Oh, found it. It's still there! PHEW!
[Edit]:
Done!

It looks alright, although I think the blue bricks don't have the right color. And can someone tell me, which light I have to move/turn (and how) so that the reflection is not directly on the cockpit?
Edited by TK-949, 03 March 2012 - 09:54 AM.
#67
Posted 03 March 2012 - 10:46 PM
#68
Posted 04 March 2012 - 12:14 AM
TK-949, on 03 March 2012 - 02:22 AM, said:
Telling you which light you would need to move would not be possible without actually looking at the the .pov file you have and running test renders, as you may not have your model set at the same rotation as someone else's. Experimentation would be the best thing to try, and there are plenty of POV-Ray guides out there that go into detail, some of which I list in the "More information" section.
TK-949, on 03 March 2012 - 10:46 PM, said:
Rendering tip: The LDraw colour palette contains definitions for rubber colours. If tyres are set to colour 256 (Rubber Black), they will look more like rubber when it comes to rendering.
#69
Posted 05 March 2012 - 01:46 PM
C3POwen, on 04 March 2012 - 12:14 AM, said:
Maybe it's just the lighting.
C3POwen, on 04 March 2012 - 12:14 AM, said:
Yeah, that was a dumb question anyway.
C3POwen, on 04 March 2012 - 12:14 AM, said:
That's odd, I don't know where this confused palette came from.
#70
Posted 14 March 2012 - 08:28 AM
Any updates soon to be added to the guide?
Lost in Masked Builder's "Jedi Temple" Mafia Game, as Obi-Wan Kenobi: Town (Vanilla)
Lynched on Day 2 of Bob's "Excalibur 2.0" Mafia Game as Ensign Brian Pewter: Town (Vanilla)
Won in TinyPiesRUs' "Ragnarok Now" Mafia Game, as Patrekr the Red: Town (Paranoid Axe Owner)
Killed by the Vigilante in Bob's "The Pearl" Mafia Game as Timothy: Town (Vanilla)
Lynched on Day 3 in Def's "Eurobricks II" Mafia Game as Li'l Palathadric: Town (Vanilla)
Lynched on Day 5 of Hinckley's "Harriet Slutter and the Philosopher's Balls" Mafia Game as Drubulum Panck: Town (Bodyguard)

Playing in Heroica as Monk Pretzel and his 99 Pieces, a Level 16 Paladin
Heroica Stats
Brickshelf Account
See my work in the Official Lego sets made in LDraw topic
#71
Posted 23 March 2012 - 02:20 PM
How to use radiosity
or
if you don't want to get too deep into technical things you can try
Fast rad
#72
Posted 24 March 2012 - 12:13 AM
I wonder when C3POwen will get around to updating this tutorial. He hasn't been around in over a week.
Does the lg_colour.inc downloadable file here contain the correct colours for all the original brick colours?
Edited by palathadric, 24 March 2012 - 12:15 AM.
Lost in Masked Builder's "Jedi Temple" Mafia Game, as Obi-Wan Kenobi: Town (Vanilla)
Lynched on Day 2 of Bob's "Excalibur 2.0" Mafia Game as Ensign Brian Pewter: Town (Vanilla)
Won in TinyPiesRUs' "Ragnarok Now" Mafia Game, as Patrekr the Red: Town (Paranoid Axe Owner)
Killed by the Vigilante in Bob's "The Pearl" Mafia Game as Timothy: Town (Vanilla)
Lynched on Day 3 in Def's "Eurobricks II" Mafia Game as Li'l Palathadric: Town (Vanilla)
Lynched on Day 5 of Hinckley's "Harriet Slutter and the Philosopher's Balls" Mafia Game as Drubulum Panck: Town (Bodyguard)

Playing in Heroica as Monk Pretzel and his 99 Pieces, a Level 16 Paladin
Heroica Stats
Brickshelf Account
See my work in the Official Lego sets made in LDraw topic
#73
Posted 24 March 2012 - 08:26 AM
Here is what I've done:
There is a site with offcial LEGO colours LUGNET color reference(unfortunatelly right now the server is down)and it has some .inc files. The problem is that these colors are the old ones (i.e. no light-bluish grey color) so I used the offical colours for the old ones and tried to figure out the new colours.
Here is the result:
lg_colors.inc
Again, it is not 100% the official colors, but close to them.
#74
Posted 01 April 2012 - 11:56 AM
#75
Posted 01 April 2012 - 11:09 PM
TK-949, on 01 April 2012 - 11:56 AM, said:
Lost in Masked Builder's "Jedi Temple" Mafia Game, as Obi-Wan Kenobi: Town (Vanilla)
Lynched on Day 2 of Bob's "Excalibur 2.0" Mafia Game as Ensign Brian Pewter: Town (Vanilla)
Won in TinyPiesRUs' "Ragnarok Now" Mafia Game, as Patrekr the Red: Town (Paranoid Axe Owner)
Killed by the Vigilante in Bob's "The Pearl" Mafia Game as Timothy: Town (Vanilla)
Lynched on Day 3 in Def's "Eurobricks II" Mafia Game as Li'l Palathadric: Town (Vanilla)
Lynched on Day 5 of Hinckley's "Harriet Slutter and the Philosopher's Balls" Mafia Game as Drubulum Panck: Town (Bodyguard)

Playing in Heroica as Monk Pretzel and his 99 Pieces, a Level 16 Paladin
Heroica Stats
Brickshelf Account
See my work in the Official Lego sets made in LDraw topic
Also tagged with one or more of these keywords: LDraw, POV-Ray, Rendering, render
Themes →
LEGO Licensed →
Rise of the Iron MenStarted by hjmediastudios , 04 Feb 2013 |
|
|
||
Themes →
LEGO Technic, Mindstorms & Model Team →
Technic pickup truck + building instructionsStarted by Hedgie , 31 Jan 2013 |
|
|
||
Themes →
LEGO Town →
MOC: Modular "Bishop's Palace" in DebrecenStarted by Yooha , 26 Jan 2013 |
|
|
||
Themes →
LEGO Train Tech →
Where are PF tracks in Bricksmith / LDraw?Started by robt , 17 Jan 2013 |
|
|
||
Themes →
LEGO Sci-Fi →
[LDD] Hawken-like MechStarted by -N13OS- , 16 Jan 2013 |
|
|
3 user(s) are reading this topic
0 members, 3 guests, 0 anonymous users










