Pseudo-3d backgrounds

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Desu_Cake
Veteran
Posts: 300
Joined: Mon Aug 15, 2011 2:03 pm
Projects: Secret, Secret and Secret
Location: Ireland
Contact:

Pseudo-3d backgrounds

#1 Post by Desu_Cake » Thu Jan 31, 2013 12:22 pm

I've got a planned fight scene taking place in a round room, and I want to make it look as though the "camera" is panning and rotating. Now, I could create a custom engine which supports full 3d backgrounds, but that's a lot of hassle just for this one little thing. So I was wondering if it was possible to create a psuedo-3d background in renpy which gives a similar effect.

User avatar
Ayutac
Regular
Posts: 150
Joined: Thu Oct 18, 2012 2:23 pm
Projects: Pokémon Dating Sim
Organization: A Breeze Of Science
Deviantart: Ubro
Location: Mayence, Germany
Contact:

Re: Pseudo-3d backgrounds

#2 Post by Ayutac » Thu Jan 31, 2013 4:28 pm

Well I guess you could just create the room in 3d with a 3d program and export 2 screenshots. The Internet certainly has a lot of tutorials for 3d beginners or maybe you just find someone (e.g. on deviant art) who can do this for you.

An alternative way would be to use 2 different light effects on a 2d background, I guess.
Up next: An original, open source, text-based Dating Sim. Stay tuned ;)

User avatar
Sapphi
Eileen-Class Veteran
Posts: 1685
Joined: Fri Jun 05, 2009 3:31 am
Completed: Boku no Taisetsu na Yumeko
Projects: Twelve, PAW ★ PRINTS
Organization: Kitsch-soft
Location: Illinois, USA
Contact:

Re: Pseudo-3d backgrounds

#3 Post by Sapphi » Thu Jan 31, 2013 7:09 pm

Could you maybe utilize a parallax effect?

Separate items in the room by background, middle ground, foreground... then when panning, assign them different pan speeds so that there is an illusion of 3D? Pretty old-school but easier and cheaper to do than real 3D, and visually pleasing in its own way. If you do go this route, just keep in mind end-user's machine's processing power... Pretty sure mine wouldn't appreciate it, but mine is old and crabby about stuff like that :P
"It is [the writer's] privilege to help man endure by lifting his heart,
by reminding him of the courage and honor and hope and pride
and compassion and pity and sacrifice which have been the glory of his past."
— William Faulkner
▬▬▬▬▬▬▬▬▬▬..+X+..▬▬▬▬▬▬▬▬▬▬
Image

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Pseudo-3d backgrounds

#4 Post by nyaatrap » Thu Jan 31, 2013 8:05 pm

Doesn't it look like 3D? http://imageshack.us/photo/my-images/40 ... gzght.mp4/ (not explicit but not fully work for safe)
I just placed sprites on the wide BG with ATL. No special trick nor programming.

User avatar
Desu_Cake
Veteran
Posts: 300
Joined: Mon Aug 15, 2011 2:03 pm
Projects: Secret, Secret and Secret
Location: Ireland
Contact:

Re: Pseudo-3d backgrounds

#5 Post by Desu_Cake » Fri Feb 01, 2013 9:19 am

Hmm, I think I'll just do it like the one nyaatrap showed, since there aren't any objects in the room. Thanks guys!

Post Reply

Who is online

Users browsing this forum: enaielei