Mark I agree with your comments. My personal focus is in using Realxtend using ModRex, so I will indeed continue to document as I learn mainly in the opensimulator wiki since my goal is to educate that community on how to use this viewer and the modrex functionality. The goal is to set up RealXtend->ModRex->Opensim as a research platform for our simulation work. I created the windows version of modrex documentation yesterday and revamped the introduction.
http://opensimulator.org/wiki/ModRex Someone else has an introduction for how to do this in Linux. The Windows section now has to be updated a bit to include "how to get python working"..... I'll fix that... On the python, I am still unsure of a few things so will put up stuff when I get my head around it some more... -paul Mark Malewski wrote: > Paul/Sacha, > > Paul, can you possibly document as you learn (as you go), I'm not sure > if you have your own personal blog, but please take the time to post > everything back to the WIKI (in clear step-by-step instructions) for > others so that they may follow. > > I know we're all learning as we go, but you're asking some very good > questions, but please take the time to document to the WIKI as you go > so that others may follow. I really think we need to get that WIKI > information updated (as clear as possible with step-by-step > instructions), and good documentation really is going to be key for > others to follow. > > Please (if you can) take the time and please make side notes to the > WIKI (from the various readme files) and post everything within the > WIKI clarifying and updating anything that you may discover. > > I've found Jani's website (Cybertechnews.com) has been extremely > helpful in finding tid bits of extremely useful information, and > converting everything into simple step-by-step tutorials (with pictures). > > Sacha has done some great work as well. I'm up to my eyeballs with > projects right now, but I really think if we document things as we go > and as we learn (and post some of these links, tutorials and even link > back to the comments from these e-mails) so that it will at least help > those that follow. > > /*> from memory, you need to adress the texture UUID instead of the > name in the python part. > */ > I know information like that may seem a bit "scattered" to the end > user at times, so it's much easier for us to document properly as we > go and jot down some clear step-by-step instructions (as we learn). > This could make for a very good *step-by-step* tutorial based on what > you're learning (and based upon some of Sacha's previous work). > > Please do take the time to post your current procedure to the WIKI > (start your own separate tutorial page if necessary under the > Community pages). If you have your own personal blog, then pictures, > screen shots and links are always helpful. Then just copy and paste > back to the WIKI for us, thank-you! ;-) > > Thank-you for all that you do, > > Mark > > On Wed, Feb 11, 2009 at 9:04 AM, Lc <[email protected] > <mailto:[email protected]>> wrote: > > from memory, you need to adress the texture UUID instead of the > name in the python part. > > Sm > > > On Wed, Feb 11, 2009 at 3:58 PM, Paul Fishwick > <[email protected] <mailto:[email protected]>> wrote: > > > Sacha > Thanks - I will go through the rest of your tutorial, but I > did notice > the link that you had on rtt (remember: I am using modrex, if that > makes any difference w/ regard to your tutorial explanations): > > http://www.rexdeveloper.org/wiki/index.php?title=RealTimeCamera > > Here is my procedure (flawed in some way): > > 1. I am using the default samplertt.py, which I edited to > comment out > the brick texture and put in the UUID of GreenSkin (a > 256x256 texture > in my inventory, uploaded from the OGRE demos file area). > 2. I create one camera object and call it "sample_cam" since > this is the > name in the samplertt.py file > 3. I place the following Class call in the ReX->Misc tab: > samplertt.RttCam > 4. I create a monitor and name it "monitor" > 5. I texture the monitor (with the main texture tab GreenSkin) > 6. I click on sample_cam, which says: Creating render to > texture camera > (shouldn't this be "Creating render to texture monitor" > since the > camera > is the thing taking the video or image and the monitor is > the thing > displaying > what the camera sees)? > > Can you tell me which step I am missing since I am not seeing > anything > except > the green texture on the monitor object. > > -p > > Lc wrote: > > Paul > > > > I suggest you to read that wiki : > > > > > > http://www.rexdeveloper.org/wiki/index.php?title=Tutorial_%22the_Atoll%22_based_on_%22under_the_sea%22 > > > > I detailed some tricks used to make the demo. > > > > Sacha > > > > On Wed, Feb 11, 2009 at 3:05 PM, Paul Fishwick > <[email protected] <mailto:[email protected]> > > <mailto:[email protected] > <mailto:[email protected]>>> wrote: > > > > > > Jeroen > > Thanks - one would think "rex_python = true" would go under > > [RealXtend]. Anyway, > > I think this was the key. two related questions: > > > > 1) now that I see python scripts are found in "Lib" and in > > "PythonScript", if there is > > a file reference inside one of those scripts, where is > the file to be > > located? For example > > there is a sampleflashanimation script that refers to > > "cakedance.swf". Where is > > "cakedance.swf" supposed to be found in the file > hierarchy where > > modrex is used? > > > > 2) have you gotten samplertt.RttCam to work? I realize > that there > > is a > > camera called > > sample_cam and that there is a display surface that > must have the > > UUID > > of a texture, > > which is where the camera will be displayed. So, I > created a prim, > > called it > > "sample_cam" and in the Class name, entered > samplertt.RttCam. Then, I > > created > > another prim and put "GreenSkin" texture on it. I also > edited > > samplertt.py in the > > PythonScript\Samples directory so that > > it refers to the green_skin UUID (from the OGRE demos) > instead > > of the > > brick texture. > > Am I missing a step? The GreenSkin is in my Textures > inventory. > > Clicking on > > sample_cam does show that the python is working: > > > > sample_cam Shouts creating render to texture camera > > > > -p > > > > > > Jeroen van Veen wrote: > > > On Wednesday 11 February 2009 04:31:33 Paul Fishwick > wrote: > > > > > >> In surfing around in the modrex source tree, there is > a readme file > > >> in ModularRex\RexParts\RexPython\Resources that says to > > >> copy both folders (Lib and PythonScript) to the > > opensim\bin\ScriptEngines > > >> directory. > > >> > > >> I presume that this is a necessary step to making > Python work w/ > > >> modrex. However, it isn't clear how. For example, > let's say I do > > >> the above, start up opensim, and then create an > object and for > > >> class under the ReX tab, I put in samplertt.RttCam . > Clicking on > > >> the object does not invoke the touch event, so is > there something > > >> else that must be done to enable Python? I'd like to > try building > > >> a mirror, but not sure how to do it. > > >> > > >> -p > > >> > > > hey Paul, > > > > > > you need a 'rex_python = true' option under [startup] > in OpenSim.ini > > > There is also some documentation at: > > http://opensimulator.org/wiki/ModRex > > > > > > cheers, > > > > > > Jeroen > > > > > > > > > > > > > > > > -- > > Paul Fishwick, PhD > > Professor and Director, Digital Arts and Sciences Programs > > University of Florida > > Computer & Information Science and Eng. Dept. > > Bldg. CSE, Room 301 > > P.O. Box 116120 > > Gainesville, FL 32611 > > Email: [email protected] > <mailto:[email protected]> <mailto:[email protected] > <mailto:[email protected]>> > > Phone: (352) 392-1414 > > Fax: (352) 392-1220 > > Web: http://www.cise.ufl.edu/~fishwick > <http://www.cise.ufl.edu/%7Efishwick> > > <http://www.cise.ufl.edu/%7Efishwick> > > > > > > > > > > > > > > > > -- > Paul Fishwick, PhD > Professor and Director, Digital Arts and Sciences Programs > University of Florida > Computer & Information Science and Eng. Dept. > Bldg. CSE, Room 301 > P.O. Box 116120 > Gainesville, FL 32611 > Email: [email protected] <mailto:[email protected]> > Phone: (352) 392-1414 > Fax: (352) 392-1220 > Web: http://www.cise.ufl.edu/~fishwick > <http://www.cise.ufl.edu/%7Efishwick> > > > > > > > > -- Paul Fishwick, PhD Professor and Director, Digital Arts and Sciences Programs University of Florida Computer & Information Science and Eng. Dept. Bldg. CSE, Room 301 P.O. Box 116120 Gainesville, FL 32611 Email: [email protected] Phone: (352) 392-1414 Fax: (352) 392-1220 Web: http://www.cise.ufl.edu/~fishwick --~--~---------~--~----~------------~-------~--~----~ this list: http://groups.google.com/group/realxtend realXtend home page: http://www.realxtend.org/ -~----------~----~----~----~------~----~------~--~---
