Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 691 online users. » 0 Member(s) | 687 Guest(s) Baidu, Bing, Facebook, Google
|
Latest Threads |
80503pb01 lute instrument...
Forum: Part Requests
Last Post: N. W. Perry
2025-07-16, 14:24
» Replies: 9
» Views: 5,910
|
Parts we are Working on -...
Forum: Part Requests
Last Post: Jeff Jones
2025-07-16, 10:14
» Replies: 158
» Views: 151,979
|
Modulex parts
Forum: Parts Authoring
Last Post: Chris Böhnke
2025-07-15, 20:30
» Replies: 31
» Views: 4,522
|
Same set, different sheet...
Forum: Parts Tracker Discussion
Last Post: Magnus Forsberg
2025-07-15, 6:15
» Replies: 8
» Views: 408
|
71613/30346c01 too high?!
Forum: Part Requests
Last Post: Chris Böhnke
2025-07-14, 23:21
» Replies: 18
» Views: 4,829
|
5724pr0001 Bubble Canopy ...
Forum: Part Requests
Last Post: SNIPE
2025-07-12, 21:08
» Replies: 2
» Views: 382
|
Friends 2014
Forum: Official Models
Last Post: Takeshi Takahashi
2025-07-11, 16:20
» Replies: 18
» Views: 17,264
|
LDCAD about Add custom p...
Forum: LDraw Editors and Viewers
Last Post: Nate87
2025-07-11, 8:13
» Replies: 5
» Views: 3,302
|
Hi-res logo primitives
Forum: Official File Specifications/Standards
Last Post: Jens Brühl
2025-07-10, 20:40
» Replies: 16
» Views: 2,152
|
Part 5561, Door 1 x 4 x 1...
Forum: Part Requests
Last Post: Gerald Lasser
2025-07-10, 9:55
» Replies: 1
» Views: 501
|
|
|
using looks_like command in pov-ray |
Posted by: Joscha - 2018-03-06, 17:24 - Forum: Rendering Techniques
- No Replies
|
 |
Hi
since a few days I try to figure out how to create a kind of 'light bar' in pov-ray. I mean a for example a 1x4 plate which seems to emit light from its surface like shown in the pov tutorial with the command looks_like.
I started with a smal example:
![[Image: light_test2_03area_light_on_spot_off.png]](https://bricksafe.com/files/Joscha/sandbox/light_test2_03area_light_on_spot_off.png)
I used a transparent brick (LDXColor79) and an area light with 4 light in a row placed exactly on the surface of the transparent brick.
What I do not like in the result is that the brick does not seem to emit light. I would like to have just a plain white surface.
Then I changed the colour of the plate to white:
![[Image: light_test2_04area_light_on_white.png]](https://bricksafe.com/files/Joscha/sandbox/light_test2_04area_light_on_white.png)
Here I had to move the area light slightly above the surface in order not to get blocked. But this is still not the look I wanted. Therefore pov-ray has the looks-like command.
If I try to use the looks-like command in the light source definition I have to point to an object name, i.e. the name of the brick. I searched the line in the pov-script where the object is defined...
Quote:// Author: LDraw
object {
lg_3710
matrix <0,0,-25,-25,0,0,0,-25,0,0,0,0>
LDXSeamMatrix(80, 12, 20, 0, 2, 0)
matrix <1,0,0,0,1,0,0,0,1,0,-32,0>
#if (version >= 3.1) material #else texture #end { LDXColor15 }
}
and added:
Quote:#declare lightbar = object {
lg_3710
matrix <0,0,-25,-25,0,0,0,-25,0,0,0,0>
LDXSeamMatrix(80, 12, 20, 0, 2, 0)
matrix <1,0,0,0,1,0,0,0,1,0,-32,0>
#if (version >= 3.1) material #else texture #end { LDXColor15 }
}
The result after this step is already that the plate is missing.
I tried to draw a box with the box command instead, but if I try to declare it to give it a name to be refered to with the looks_like command, the box disappears (like above the lego plate). Just using the light w/o looks_like brings this:
![[Image: light_test2_05area_light_on_box.png]](https://bricksafe.com/files/Joscha/sandbox/light_test2_05area_light_on_box.png)
It looks already similar to the resulty I have seen in the pov tutorials applying the looks-like command.
But then my questions are, is there a difference between the above image (looks_like not applied) and an image with the looks_like command applied? And how to use it in the code?
Regards
Joscha
|
|
|
Minifig Legs > Dual Injection |
Posted by: Gerald Lasser - 2018-03-06, 8:03 - Forum: Parts Authoring
- Replies (3)
|
 |
Do we have sub-parts of the relevant upper and lower legs?
I have not seen a hip/legs combo inthe library so far. Am I right to say that those are not yet modeled?
Shall we model them or just realize those parts as "print" on the normal legs?
|
|
|
LPub & ROTSTEP - skips rotation step |
Posted by: tom alphin - 2018-03-05, 16:15 - Forum: LDraw Editors and Viewers
- Replies (6)
|
 |
Hello all,
I have what I hope to be a simple question... I'm using LPub to make instructions for a large 10k piece model. I'm well aware of the ROTSTEP command, which was critical in ensuring the right perspective at all times.
The problem is that I would like to add a completely blank step showing just the rotation action, so the reader can see the new perspective *before* adding the parts for the next step. I tried the following seemingly obvious schema, but the extra "step" is being discarded. - I can only assume that LPub has logic to ignore "Step" commands where no parts were added.
Code: 0 STEP
0 ROTSTEP 30 -60 0 ABS
0 !LPUB ASSEM MODEL_SCALE LOCAL 0.25000
0 !LPUB INSERT ROTATE_ICON OFFSET 0.5 0.5
0 STEP
0 !LPUB ASSEM MODEL_SCALE LOCAL 0.25000
1 0 -2540 -152 640 0 0 1 0 1 0 -1 0 0 snotpanel12.ldr
1 0 -2540 -152 -400 0 0 1 0 1 0 -1 0 0 snotpanel10.ldr
1 0 -2540 -152 -200 0 0 1 0 1 0 -1 0 0 snotpanel10.ldr
1 0 -2540 -152 0 0 0 1 0 1 0 -1 0 0 snotpanel10.ldr
1 0 -2540 -152 200 0 0 1 0 1 0 -1 0 0 snotpanel10.ldr
1 0 -2540 -152 400 0 0 1 0 1 0 -1 0 0 snotpanel10.ldr
0 STEP
Help appreciated!
Sincerely,
---tom
|
|
|
Buffer Exchange Fault |
Posted by: Tom Moisey - 2018-03-04, 17:34 - Forum: LDraw Editors and Viewers
- Replies (10)
|
 |
Evening everyone,
New member and first time poster here so apologies if this is in the wrong section.
Im currently building a producing instructions for a model and have use a buffer exchange command to show the placement of a tile in the main build.
Now Ive followed the information from Holly-wood.it and the working with pub google site but I still have an issue.
The 'hovering' part appears with the arrow in the correct location but on the next step it recounts the piece in the PLI so you end up with a extra piece. Is it something simple that I've missed or arranged incorrectly ? The code looks correct but Im not sure.
Here is the code:
1 0 420 -8 -460 0 0 1 0 1 0 -1 0 0 3068b.dat
1 0 460 -8 -460 0 0 1 0 1 0 -1 0 0 3068b.dat
0 STEP
1 0 -20 -8 -430 -1 0 0 0 1 0 0 0 -1 3069b.dat
1 0 60 -8 -390 -1 0 0 0 1 0 0 0 -1 3069b.dat
1 0 180 -8 -370 -1 0 0 0 1 0 0 0 -1 3069b.dat
1 0 -100 -8 -370 -1 0 0 0 1 0 0 0 -1 3069b.dat
1 0 380 -8 -380 0 0 1 0 1 0 -1 0 0 3068b.dat
1 0 420 -8 -380 0 0 1 0 1 0 -1 0 0 3068b.dat
0 BUFEXCHG A STORE
0 GHOST 1 0 -270 -64 -470 0 0 1 0 1 0 -1 0 0 3069b.dat
0 MLCAD ARROW 0 -250 -18 -470 0 1 0 -1 0 0 0 0 1 10 4 12 40 3 30 1 2 4 4
0 MLCAD SKIP_BEGIN
3 4 -250 -6 -470 -255 -21 -470 -250 -16 -470
3 4 -250 -6 -470 -245 -21 -470 -250 -16 -470
3 4 -250 -16 -470 -252 -18 -470 -248 -18 -470
4 4 -252 -18 -470 -252 -58 -470 -248 -58 -470 -248 -18 -470
0 MLCAD SKIP_END
0 STEP
0 BUFEXCHG A RETRIEVE
1 0 -250 -8 -460 0 0 1 0 1 0 -1 0 0 3069b.dat
1 0 460 -8 -370 -1 0 0 0 1 0 0 0 -1 3069b.dat
1 0 260 -8 -430 -1 0 0 0 1 0 0 0 -1 3069b.dat
1 0 340 -8 -390 -1 0 0 0 1 0 0 0 -1 3069b.dat
0 STEP
1 15 -120 -8 -430 1 0 0 0 1 0 0 0 1 4162.dat
1 15 -80 -8 -410 1 0 0 0 1 0 0 0 1 4162.dat
Thanks in advance
|
|
|
Animated Instruction |
Posted by: Jarema - 2018-03-04, 8:52 - Forum: All Other Programs.
- Replies (36)
|
 |
How I get the same result shown on video width *.ldr files ? Can LPub3D handle it ?
I know this is possible. Some thing similar can get with LDraw. I can get this result capture screen in real-time. But i can get or build tool which work will for me in batch processing mode.
|
|
|
|