POV-Ray : Newsgroups : povray.unofficial.patches : Sim-POV Feature Requests No. 1 : Re: Sim-POV Feature Requests No. 1 Server Time
30 Jun 2024 21:07:32 EDT (-0400)
  Re: Sim-POV Feature Requests No. 1  
From: Christoph Hormann
Date: 14 Dec 2002 04:19:54
Message: <3DFAF7BA.FC69DF07@gmx.de>
Andrew Cocker wrote:
> 
> 1) Being able to assign a seperate texture for each group (when faces are assigned),
rather
> than everything having the same MSim_Tex_Mesh. Would it be possible to assign the
texture
> within the topology of each group?
> 
> 2) When faces are turned on in, for eg. MechSim_Generate_Grid_Std(), would it be
possible to
> have a smooth mesh on the surface of the resulting boxes (with the edges obviously
staying
> sharp)?

Forst of all both things are nothing that requires a change in the patch
itself.  

1: That's a matter of displaying the topology.  You can use a separate
MechSim_Show_Objects() for each group and texture them differently:

#declare Obj1=MechSim_Show_Objects(...)

object {
  Obj1
  texture { ... }
}

MechSim_Show_Patch() would work alike.

2: There are two possible ways of smoothing a mesh in such a case.  You
can either use a threshold for the angle between the faces to determine
whether to smooth the normal vectors or for a rectangular grid you can of
course determine from the node index if the normals should be smoothed. 
Both things can be implemented in macros.

> //-------------
> Also:
> I'd like to create a letter 'T' shape (or other permutations of connected shapes),
but it's
> not immediately obvious to me how to link together 2 or more blocks of grids. Any
ideas how
> I'd go about this? I think it's probably the method you used in your example anim
that had a
> sort of crane in it.

You have to link them exactly how they are linked internally, i.e. create
connections between adjacent masses.  

The cranes you can see on my website are not created with the same system
but essentially the interconnections are created one by one manually.  

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 07 Dec. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.