Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] Re: Manta Problem


Chronological Thread 
  • From: Dmitri Rubinstein <rubinste@graphics.cs.uni-sb.de>
  • To: Abe Stephens <abe@sci.utah.edu>
  • Cc: manta@sci.utah.edu
  • Subject: [MANTA] Re: Manta Problem
  • Date: Wed, 09 May 2007 12:05:36 +0200

Abe Stephens schrieb:

Ah yes, I fixed that last night. I should have used a transaction to modify the image traverser in objviewer.py, while instead I just reassigned the pointer--the FPE was caused by a parallel hazard.

I just committed r1372 which comments out this change (but shows how to modify other state in the viewer if you want to). Neat that you're using the python interface...
I am a big fan of SWIG and Python, and have already ported OpenRT API to Python with SWIG.

I am interested to port my VRML scene graph library to use Manta for rendering. Currently it uses OpenRT API. Here is my thesis about this: http://graphics.cs.uni-sb.de/~rubinste/works/diplom.pdf .
Because Manta is now able to visualize Boeing I hope to be able to run my "Nancy in Boeing" demo (see pictures in the thesis) with Manta.

I have started to review Manta code, and have a number of questions. Maybe you can answer them:

I have not found any reference counting code, do you allow shared objects in the scene ? How I can delete objects correctly ?
Is there any simple example of rigid body animation ? Something like creating object from triangles and change its transformation matrix depending on time and render in loop.
I have found the code to set object properties on construction by passing a string vector. Is there a possibility to change properties in this way after construction ?

Greetings

Dmitri


Abe

Dmitri Rubinstein wrote:
Hi Abe. I have compiled Manta and tried to run objviewer.py, but I get floating point exceptions here:

0x00002aaaad8a18b0 in Manta::TiledImageTraverser::renderImage (this=0xd99e20, context=@0x41200d50, image=0x56b220) at /home/rubinste/packages/Manta/Manta/Engine/ImageTraversers/TiledImageTraverser.cc:136

...
    for(int assignment = s; assignment < e; assignment++){

-->    int xtile = assignment/ytiles;

DDD shows that assignment == 0 and ytiles == 0

I run "python SwigInterface/objviewer.py -f file.obj" .

Any idea what I am doing wrong ?

Greetings

Dmitri







Archive powered by MHonArc 2.6.16.

Top of page