472,328 Members | 1,763 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,328 software developers and data experts.

gelato - nvidia and python

Did somebody worked with gelato from nvidia and python?
I have some C cod from books nvidia .
This is :
"
GelatoAPI *r = GelatoAPI::CreateRenderer();
r->Camera ("main");
.... API calls through r ...
r->Render ("main");
delete r; // Finished with this renderer
"
the code for python i create is only this :
"
python
Python 2.5.2 (r252:60911, May 28 2008, 08:35:32)
[GCC 4.2.4 (Debian 4.2.4-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>import gelato
from gelato import *
r=gelato.CreateRenderer
print r
<built-in function CreateRenderer>
>>dir(r)
['__call__', '__class__', '__cmp__', '__delattr__', '__doc__',
'__getattribute__', '__hash__', '__init__', '__module__', '__name__',
'__new__', '__reduce__', '__reduce_ex__', '__repr__', '__self__',
'__setattr__', '__str__']
"
And I blocked here...
Thank you .
Jun 29 '08 #1
2 1275
On Jun 29, 5:34*pm, "catalinf...@gmail.com" <catalinf...@gmail.com>
wrote:
Did somebody worked with gelato from nvidia and python?
I have some C cod from books nvidia .
This is :
"
GelatoAPI *r = GelatoAPI::CreateRenderer();
r->Camera ("main");
... API calls through r ...
r->Render ("main");
delete r; * // Finished with this renderer
"
the code for python i create is only this :
"
python
Python 2.5.2 (r252:60911, May 28 2008, 08:35:32)
[GCC 4.2.4 (Debian 4.2.4-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.>>>import gelato
>from gelato import *
r=gelato.CreateRenderer
print r

<built-in function CreateRenderer>>>dir(r)

['__call__', '__class__', '__cmp__', '__delattr__', '__doc__',
'__getattribute__', '__hash__', '__init__', '__module__', '__name__',
'__new__', '__reduce__', '__reduce_ex__', '__repr__', '__self__',
'__setattr__', '__str__']
"
And I blocked here...
Thank you .
Maybe you should execute the CreateRenderer, like
r=gelato.CreateRenderer()
dir(r)

I don't have gelato but it might work..
Jun 29 '08 #2
On 29 Jun, 17:34, "catalinf...@gmail.com" <catalinf...@gmail.com>
wrote:
>
>dir(r)

['__call__', '__class__', '__cmp__', '__delattr__', '__doc__',
'__getattribute__', '__hash__', '__init__', '__module__', '__name__',
'__new__', '__reduce__', '__reduce_ex__', '__repr__', '__self__',
'__setattr__', '__str__']
What about asking for help on r?
>>help(r)
Beyond that, you'd want to look at any published API documentation or
even the source code for the module, which I'd imagine is C or C++ in
this case.

Paul
Jun 29 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Terry Reedy | last post by:
>From http://film.nvidia.com/page/gelato.html : Gelato is NVIDIA's new professional image rendering software, running on top of its new Quadro FX...
1
by: tc | last post by:
Does anyone know why there's no progress on the pyfx project?? (http://graphics.cs.lth.se/pyfx) What are the pro and con's for such an...
0
by: Shark | last post by:
Just a post for anyone else that is having this problem (as I've now discovered the solution). The problem is where when looking in the dialog...
0
by: AIM | last post by:
Hello all, I am working on some games and some Nvidia Cg graphics. I am looking for python that provides wrappers over the Nvidia Cg API. ...
3
by: Mark | last post by:
Hello all - I'm creating an application that uses a datagridview control. My development environment is an HP Laptop with a NVIDIA Geforce 4 440...
1
by: Danno040 | last post by:
I'm trying to compile the source code for the demos that comes with NVIDIA's SDK using Visual Studio 2005, however whenever I try to build them I...
1
by: hsyq8xg | last post by:
From Google, translated to English from French: ...
2
by: Studlyami | last post by:
Hey guys I just installed yesterday the latest version of Kubuntu (so expect many more questions to come :) and I tried to install the latest Nvidia...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
1
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.