473,399 Members | 3,603 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 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 1353
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 graphics hardware. In addition to its C++ API, ...
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 implementation to actually program a 3d game (engine)?? ...
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 resource view of an MFC project in Visual Studio...
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. Does anyone know where I may find what I am looking...
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 Go 64M. While using this object, a queer...
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 get a large number of unresolved external errors or...
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 driver by using the following commands, which i...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.