For Programmers: Free Programming Magazines  


Home > Archive > Tcl > December 2006 > vpython fot tcl









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author vpython fot tcl
israelu@elbit.co.il

2006-12-27, 7:06 pm

Hi all,

Does anyone know a 3d tcl library that is as powerful as vpython? (and
free license)
InvenTcl looks good but not free for commercial use
3dcanvas (or canvas3d?) seems good too, but I can't compile the
sources. Binary exist?

thanks

suchenwi

2006-12-27, 7:06 pm


israelu@elbit.co.il schrieb:

> Does anyone know a 3d tcl library that is as powerful as vpython? (and
> free license)
> InvenTcl looks good but not free for commercial use
> 3dcanvas (or canvas3d?) seems good too, but I can't compile the
> sources. Binary exist?


Do you mean tcl3d as of http://www.tcl3d.org/ ?

israelu@elbit.co.il

2006-12-28, 4:09 am


suchenwi =EB=FA=E1:
> israelu@elbit.co.il schrieb:
>
>
> Do you mean tcl3d as of http://www.tcl3d.org/ ?


If I understand it correctly, tcl3d is a wrapper around OpenGL. I can
use it, I ran some examples (though with tclogl/togl), but I'm looking
for something more hi level, not needing to initialize so many things
to make it work.

Arjen Markus

2006-12-28, 4:09 am


israelu@elbit.co.il schreef:

> suchenwi =EB=FA=E1:
>
> If I understand it correctly, tcl3d is a wrapper around OpenGL. I can
> use it, I ran some examples (though with tclogl/togl), but I'm looking
> for something more hi level, not needing to initialize so many things
> to make it work.


Have you looked at Vtk?

Could you perhaps describe in some more detail what you are looking
for?
(I am not familiar with vpython, so I can not quite fathom your
remarks)

Regards,

Arjen

israelu@elbit.co.il

2006-12-28, 4:09 am

> Have you looked at Vtk?
>
> Could you perhaps describe in some more detail what you are looking
> for?
> (I am not familiar with vpython, so I can not quite fathom your
> remarks)
>
> Regards,
>
> Arjen



In vpython I can just right thiese two lines of script (of which one
just imports vpython):
from visual import *
ball = sphere(pos=(1,2,1), radius=0.5, color=(0,1,1))
And that's all. A screen with a sphere will pop up, and scaled to
contain all objects drawn. This is the most high level 3d library I
know. I think tcl's 3dcanvas package is just as powerful but I look for
a binary distribution of it - a DLL, not C sources.
On the other hand, wrappers around OpenGL require a lot off
initializing, making 3d snippets slow to develop.

Arjen Markus

2006-12-28, 8:05 am


israelu@elbit.co.il schreef:

>
>
> In vpython I can just right thiese two lines of script (of which one
> just imports vpython):
> from visual import *
> ball = sphere(pos=(1,2,1), radius=0.5, color=(0,1,1))
> And that's all. A screen with a sphere will pop up, and scaled to
> contain all objects drawn. This is the most high level 3d library I
> know. I think tcl's 3dcanvas package is just as powerful but I look for
> a binary distribution of it - a DLL, not C sources.
> On the other hand, wrappers around OpenGL require a lot off
> initializing, making 3d snippets slow to develop.


I see what you mean ... There are other packages around - you might
find what you are looking for on the Wiki. Or contact the author of
tcl3d, he might have a higher-level interface lying around.

Regards,

Arjen

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com