473,594 Members | 2,812 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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::Crea teRenderer();
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.Crea teRenderer
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 1356
On Jun 29, 5:34*pm, "catalinf...@gm ail.com" <catalinf...@gm ail.com>
wrote:
Did somebody worked with gelato from nvidia and python?
I have some C cod from books nvidia .
This is :
"
GelatoAPI *r = GelatoAPI::Crea teRenderer();
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.Creat eRenderer
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.Create Renderer()
dir(r)

I don't have gelato but it might work..
Jun 29 '08 #2
On 29 Jun, 17:34, "catalinf...@gm ail.com" <catalinf...@gm ail.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
1504
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, "A Python binding also ships with Gelato, allowing users to script input, automatically generating geometries and shading instead of explicitly specifying them in advance. " This is the only such binding mentioned. They apparently feel that...
1
2262
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)?? I started off a while ago in c++ to play around a bit with directx opengl and cg but I'd rather like to program in a language such as python...
0
1682
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 .NET (2003 in my case) the dialog sizing gets garbled and it chops off the edges of the dialog somehow and renders the user unable to edit the dialog properly without screwing the sizing up. Well after months of having this problem I finally...
0
939
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 for? AIM
3
1474
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 effect occurs where, if you just let the application sit idle (usually within a minute), the gridlines and border of the datagridview control will be redrawn over the form.
1
4434
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 "LNK1104: cannot open file 'LibCD.lib'" I'm currently trying to get 'gpgpu_fluid' to build. Can anyone help? Thanks.
1
1381
by: hsyq8xg | last post by:
From Google, translated to English from French: www.google.com/translate?u=http%3A%2F%2Fwww.pcinpact.com%2Factu%2Fnews%2F43165-premier-supercalculateur-GPU-France-Tesla.htm&langpair=fr%7Cen&hl=en&ie=UTF8 "A hybrid system composed of 1068 CPU octocoeurs new generation, with 48 modules GPU to make a maximum of parallel calculations." "According to our information, the 1068 processors are indeed Nehalem eight of hearts, and 48 modules...
2
3920
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 found on various web sties. Hit Ctrl+Alt+F1 sudo /etc/init.d/kdm stop sudo sh /home/Desktop/Documents/<Nvidia Driver Files Name> the driver starts to install, but then it says that there is an X server running and it cannot continue the...
0
7877
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8253
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8374
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8009
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6661
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5739
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5411
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2389
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1216
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.