We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › 3d Virtual Casinos with Processing
Page Index Toggle Pages: 1
3d Virtual Casinos with Processing? (Read 3344 times)
3d Virtual Casinos with Processing?
Oct 19th, 2009, 9:57am
 
I work at the University of Nevada, Las Vegas and am involved in a project to develop a virtual casino environment based on archival data (photos, blueprints, movies, audio recordings, etc) that we have at the library. A brief overview of the project can be found at my blog (google Entertainment Engineer), look for the post on Re-Living Las Vegas
on February 7th of this year.

In the past we have used the C4 game engine for the project. I want to move in a direction that is 2nd Life w/o 2nd Life. Multiuser, interactivity...

Is anyone doing work like this with Processing who would be willing to talk to me?

thanks,
dan
Re: 3d Virtual Casinos with Processing?
Reply #1 - Oct 19th, 2009, 10:31am
 
What's up?

Edit: your project sounds interesting, but what are you looking for, exactly?
Re: 3d Virtual Casinos with Processing?
Reply #2 - Oct 21st, 2009, 11:14am
 
I'm looking for a way to develop a virtual environment without having to rely on proprietary software. Like I said, 2nd life without the Linden servers. I recognize that this is a difficult project and will take some time, and I've personally never tried this sort of this, so I'm not sure what questions to even ask.

The students who are working on this want to use a piece of software called easypano to create panoramic views of the inside of the casino at specific locations. They have the 3d models in collada format which can be stitched together using easypano. I'm wondering how difficult it would be to do the same thing with Processing.

Suppose I have a room how could I import the 3d model and then just stand their rotating inside the room? Does this even make sense?

If we can do this (relatively) easily, then I think I can convince the group to start looking at Processing for some of the other tasks.
Re: 3d Virtual Casinos with Processing?
Reply #3 - Oct 21st, 2009, 11:15am
 
Easypano costs something like $1100 per license, so for me, going to Processing also makes economic sense... 8)
Re: 3d Virtual Casinos with Processing?
Reply #4 - Oct 21st, 2009, 6:20pm
 
BenHem,

Your blue dungeon program is basically what I would like to do, except we would build the inside from the Collada files from Blender.

dpc
Re: 3d Virtual Casinos with Processing?
Reply #5 - Oct 21st, 2009, 6:24pm
 
You can see the demo made with easypano at by website
Re: 3d Virtual Casinos with Processing?
Reply #6 - Oct 21st, 2009, 6:25pm
 
www.egr.unlv.edu/~dpcook/Suite/
Re: 3d Virtual Casinos with Processing?
Reply #7 - Oct 21st, 2009, 10:40pm
 
Hi Dan,
so, you have students working on the project, and are looking for resources  This library, by gll, sounds good:
http://processing.org/discourse/yabb2/num_1219666009.html
and V has made/updated an impressive 3ds loader, mri3ds, but I haven't gotten it to work in-browser:
http://processing.org/discourse/yabb2/num_1230847220.html
check out the example included with that library, of the cathedral.  Might be what you are looking for...
...
--Ben
Re: 3d Virtual Casinos with Processing?
Reply #8 - Oct 21st, 2009, 11:01pm
 
Actually, this is probably going to be most helpful: A collada importer for Processing:

http://processing.org/discourse/yabb2/num_1203404968_.html
Re: 3d Virtual Casinos with Processing?
Reply #9 - Oct 22nd, 2009, 9:00am
 
BenHem,

Yes. I have three students but they complain "We are not good programmers" so always are searching for a ready-made application that will do their work for them, instead of trying to build a tool that does exactly what they want.

Thanks for the links. I just downloaded the 3ds library and will try the collada one also. After looking at your website, I pulled open all the rest of my processing books and did some programming of my own... You can check out my first excursion into 3D Processing at:

www.egr.unlv.edu/~dpcook/spinning_dan

dan
Re: 3d Virtual Casinos with Processing?
Reply #10 - Oct 22nd, 2009, 9:39am
 
Nice, very compact code (surely it doesn't scare your students too much) and looks like it could do what you want in combination with the stitched-together graphics -- if you were to divide the panorama into 4 sections and move the camera into the middle of the cube or vice versa.  I think there are some free stitching tools; your students could possibly take screenshots of the 3D environment and stitch them together that way...e.g. AutoStitch:
http://www.photo-freeware.net/autostitch.php

and the effect could get more realistic if applied to an octagonal prism instead of a cube....though of course the entire casino being loaded through that collada import would be awesome.
Re: 3d Virtual Casinos with Processing?
Reply #11 - Oct 22nd, 2009, 11:04am
 
I like to scare my students... That way they won't come to office hours...  Smiley Just wait, I've got an even better one planned!

I think we are on the same wavelength. I'm betting we can load the collada file and stand at the center and rotate, or even use the same kind of motion events as you have in the blue dungeon.

I'm going to work on it more and then present it to them and say "See, I'm not a programmer either but in two days, I was able to make this. Don't be scared!"

I got turned on to Processing this summer and I'm teaching it in my introductory mechanical engineering class, instead of matlab or mathcad or whatever. I have the students working on a space invaders game. I am very happy to see that some, not all, but some are spending a good amount of time on it because they are really interested.
Re: 3d Virtual Casinos with Processing?
Reply #12 - Dec 7th, 2009, 9:03pm
 
Your project sounds really cool! I don't think I would mind being a scared student if I got to work on a project like this.
Page Index Toggle Pages: 1