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 / 2486
2485  |  2487
Subject: 
Re: Using Poser6 to generate Lego sculptures.
Newsgroups: 
lugnet.build.sculpture, lugnet.cad.ray
Followup-To: 
lugnet.build.sculpture
Date: 
Fri, 11 Nov 2005 18:23:51 GMT
Viewed: 
207 times
  
In lugnet.build.sculpture, David Winkler wrote: A friend of mine was raving about how good Poser6 was. So I bought a copy. I have gotten a prototype to export from Poser6 to basic Lego outline.

Most of this was just getting the model into a format that could be used in the manner that I described for the Stanford Bunny. This would then allow instructions to be generated.

The real problem was dealing with the fact that the poser models are in general not watertight. This causes some problems with CSG operations, but this can be dealt with.

I used the rib file export. I filtered out the ground and camera. The rest of the triangles I arranged into povray mesh2 format. I declared this mesh2 as a macro with the inside_vector as a parameter of the macro.

#macro MeshObject(outsideVector)
mesh2 {
vertex_vectors {
...
}
face_indices {
...
}
inside_vector outsideVector
 }
#end

This then allows the macro to be used in several overlapping copies to deal with the holes in the model:

...
union
{
intersection
{
MeshObject(<0,0,1>)
MeshObject(<0,0,-1>)
}
intersection
{
MeshObject(<0,1,0>)
MeshObject(<0,-1,0>)
}
intersection
{
MeshObject(<1,0,0>)
MeshObject(<-1,0,0>)
}
}
...

This seems to work filling in the holes in the model. It does slow down the rendering a lot, but is necessary.

Then slices are rendered through the model as described in the bunny document (using the above union in the bunny’s intersect block). These slices are shrunk down to the correct size, and then each pixel is interpreted as a 1x1 brick. This output could then be passed to the

filling software, but a friend says that he would prefer just to fill in the outlines by hand.

The results appear good. LDraw
 Rendering

Important Note: I am not a lawyer. I don’t know about the licensing issues associated with the Poser models. There may be issues using these in sculptures for sale. Is this a “still image” or a “simplification”?

-dw

---- This might be of interest to .cad.ray. X-posted

Tim



Message is in Reply To:
  Using Poser6 to generate Lego sculptures.
 
A friend of mine was raving about how good (URL) Poser6> was. So I bought a copy. I have gotten a prototype to export from Poser6 to basic Lego outline. Most of this was just getting the model into a format that could be used in the manner that I (...) (19 years ago, 10-Nov-05, to lugnet.build.sculpture, FTX)  

4 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR