Fun, Learning, Friendship and Mutual Respect START  HERE


Unregistered
Go Back   HeliFreak > R/C Simulators Support > Phoenix Flight Sim


Phoenix Flight Sim Phoenix Flight Sim


Reply
 
LinkBack Thread Tools Display Modes
Old 01-15-2008, 11:36 AM   #1 (permalink)
Registered Users
 
Posts: 225
 
My HF Map location
Join Date: May 2007
Default Now can repaint scenery too,....

Hi, all.

Give some screen cap of mine,... scenery repaint like this,..........



And using other sim pano image (see, https://www.helifreak.com/showthread.php?t=54872, thanks Alan/[email protected] for hosting), you can replace some default scenery,....



like this,.....





Happy cyber flying,.................
Attached Thumbnails
Click image for larger version

Name:	15-1-2008_14.39.50.jpg
Views:	2887
Size:	41.7 KB
ID:	35704   Click image for larger version

Name:	15-1-2008_16.58.36.jpg
Views:	2607
Size:	35.0 KB
ID:	35705   Click image for larger version

Name:	15-1-2008_17.15.27.jpg
Views:	2601
Size:	40.7 KB
ID:	35706  
devindh is offline        Reply With Quote Quick reply to this message
Sponsored Links
Advertisement
 
Old 01-15-2008, 09:03 PM   #2 (permalink)
Registered Users
 

Join Date: Feb 2007
Default

And here's what you need...

Included C# program will convert Phoenix mangled DDS files to normal DDS files. These use DXT1 texture compression, 2048x2048 cube maps. In addition, some sceneries have tree masks and water masks etc.

Phoenix will happily use the normal DDS files.

The included source is very simple, no GUI etc. It will compile with the free Visual Studio Express. No exe is included, as (1) This is really only for experts. (2) You shouldn't trust programs downloaded from random strangers on the net anyway. Read it and verify it doesn't wipe your harddrive.

Copyrights... This code is hereby released into the public domain. Any use is at your own responsibility. Beware that Phoenix might not like posting of derivative works, so consider asking permission before you upload your modified sceneries. Also make sure that any sceneries you find on the net is OK to redistribute if you convert them to Phoenix.

Note that the files are not "encrypted", in that case it wouldn't be this easy ;-)

// CyCrow
Attached Files
File Type: zip phx2dds.zip (974 Bytes, 405 views)
CyCrow is offline        Reply With Quote Quick reply to this message
Old 01-15-2008, 11:10 PM   #3 (permalink)
Registered Users
 

Join Date: Jun 2007
Default

Man you are cruel. So care to explain how to do this?

There is a scenery in AFPD called Tyson that is one of my favorites. I would love to be able to use it in Phoenix

SPaRX
James Kovach is offline        Reply With Quote Quick reply to this message
Old 01-16-2008, 06:19 AM   #4 (permalink)
Registered Users
 
Posts: 225
Thread Starter Thread Starter
 
My HF Map location
Join Date: May 2007
Default

Hi and thanks CyCrow, for the tool.

And you need Photoshop DDS (Nvidia texture tool) plugin to modify image, read and dl here http://developer.nvidia.com/object/n...ure_tools.html

Import normal DDS (convert from CyCrow tool above),... edit, and save it to DXT1 - no Mipmaps format.

Cheers.
devindh is offline        Reply With Quote Quick reply to this message
Old 01-16-2008, 06:32 AM   #5 (permalink)
Registered Users
 
Posts: 1,156
 
My HF Map location
Join Date: Oct 2006
Talking Nice Work

Very Nice Devin good work my freind

I was playing around with this myself but looks like you beat me to it.

I cannot find a way of adding your own model (or scene) without overwriting an existing one. Anybody got any ideas on this as its not just a matter of adding the folder like Reflex XTR

Cheers
Glenn.
__________________
T-Rex450SE, FBL Align 3G system
T-Rex600E, FBL Align 3G system
T-Rex700E, FBL Align 3G system
Hirobo Quark & a few PLANKZ, Extra 260, Akromaster...
Yamaha YZF-R1
theglennster is offline        Reply With Quote Quick reply to this message
Old 01-16-2008, 07:28 AM   #6 (permalink)
Registered Users
 
Posts: 225
Thread Starter Thread Starter
 
My HF Map location
Join Date: May 2007
Default

Hi Glenn,..thx. The Header of DDS file can be found in self of file (in near end section of file),..... like bmp file mod before. Cut and Paste to Header of itself - with HexEdit.

Yap, we must overwriting an existing one for colorsceme/variant, and for scenery too,...till now.

For me, dessertmesa and artictundra scene are twins. One must die,...

Cheers.
devindh is offline        Reply With Quote Quick reply to this message
Old 01-16-2008, 12:08 PM   #7 (permalink)
Registered Users
 

Join Date: Jun 2007
Default

I guess this one is just going to be over my head. I got something new to learn. All I want to do is take some existing flying sites which are in .jpg format and convert them to use in phoenix. Any pointers to help me figure this out will be helpful.

SpaRX
James Kovach is offline        Reply With Quote Quick reply to this message
Old 01-16-2008, 12:41 PM   #8 (permalink)
Registered Users
 

Join Date: Feb 2007
Default Updated version, now with exe

Seems it was even simpler, this version also converts bmp files. It will look for the Phoenix specific 8 byte code at the start of the file, and if it matches 0xff80402010080402, it will rearrange the file properly. Run this command line version in the a directory, and it will copy the converted files into a new directory "out".

As usual, no warranty, so use this at your own risk. Backup your phoenix dir just in case.

As for converting other sceneries, that isn't trivial. Phoenix uses cube mapping (6 images), while many other sims use spherical mapping (360x180 degrees in a single image). Converting between them requires special transformations. The collision/shadow/water geometry is also an issue. The most you can hope for is probably touching up some existing sceneries, and possibly replacing simple sceneries like arctictundra and desertmesa.

// CyCrow
Attached Files
File Type: zip phx2dds.zip (3.3 KB, 171 views)
CyCrow is offline        Reply With Quote Quick reply to this message
Old 01-16-2008, 01:29 PM   #9 (permalink)
Registered Users
 
Posts: 225
Thread Starter Thread Starter
 
My HF Map location
Join Date: May 2007
Default

This what Cycrow mean with cube mapping from 6 images,....







and this is spherical mapping (360x180 degrees in a single image) in other sim,.....





Thanks Cycrow,...

Cheers.
Attached Thumbnails
Click image for larger version

Name:	Untitled-1.jpg
Views:	2719
Size:	10.0 KB
ID:	35775   Click image for larger version

Name:	Untitled-2.jpg
Views:	2754
Size:	22.0 KB
ID:	35776   Click image for larger version

Name:	Untitled-3.jpg
Views:	3226
Size:	18.8 KB
ID:	35777  
devindh is offline        Reply With Quote Quick reply to this message
Old 01-17-2008, 01:26 PM   #10 (permalink)
Registered Users
 
Posts: 225
Thread Starter Thread Starter
 
My HF Map location
Join Date: May 2007
Default Hi, .........

I managed the pano image to works and download know,.....

Using Photoshop, get rectang marquee selection, free transform, warp it, and convert a spherical mapping pano to a cube mapping like this,......



Since i using pano work of some person in other forum, i will try to get him permission now with credit to,... that this scenery NOW is available to DOWNLOAD here, for add-on NEW SCENERY (not repaint, yeah),.....soon.



Regards.
Attached Thumbnails
Click image for larger version

Name:	Untitled-4.jpg
Views:	2613
Size:	19.0 KB
ID:	35860   Click image for larger version

Name:	17-1-2008_19.21.29.jpg
Views:	2660
Size:	36.7 KB
ID:	35861  
devindh is offline        Reply With Quote Quick reply to this message
Old 01-17-2008, 04:22 PM   #11 (permalink)
Registered Users
 

Join Date: Feb 2007
Default HOWTO: Convert scenery from Reflex to Phoenix

Tools needed:

Pano2QTVR: http://gardengnomesoftware.com/pano2qtvr_download.php - free version works fine.
Irfanview / Paint.NET - any simple image manipulation software.
NVidia DDS tools: http://developer.nvidia.com/object/d...es_legacy.html
To edit cube maps, I used DirectX Texture Tools from Microsoft. Dowload DirectX SDK.

Procedure:
- Download Reflex scenery. It will contain a 8160x3060 Jpg file.
- Load in Irfanview and select Image->Canvas size... Add 1020 pixels to the bottom.
- Save as jpg, high quality (90-95) to avoid image degradation.
- Start Pano2QTVR and create a new project.
- Goto Project tab, select equirectangular project type. Load scenery jpeg.
- Select Convert to Cubic button. Output as JPEG, set tile size to 2048. Set base name.
- You should now have 6 2048x2048 files. Load them in irfanview to verify they are OK. You can touch them up at this point. The bottom file will have a large round hole.
- Use nvdxt -dxt1c -nomipmap -file <filename>.jpg to generate <filename>.dds textures.
- After backing up your original Phoenix directory, goto environments/arcticTundra
- replace arcticTundra[1-6].dds with your textures, adding 1 to the numbering.
- Go fly! Select arcticTundra in phoenix and test your new scenery. There are no obstacles or occlusion maps, so flat open sceneries work best.

Advanced:
- The light direction will probably be wrong. It's possible to shift/wrap the original to reorient it, matching the arcticTundra sun direction with the scenery.

- Phoenix works with 4096x4096 highres textures, at least on my graphics cards. I haven't found any very high resolution sceneries (16384x8192) on the net. Loading times also go up, but framerate seems unaffected.
- Previews are simple, just crop/scale and compress to dds. 1024x1024 for full, 64x64 for small.
- To generate proper reflection maps, there is a txt file in the phoenix dir:

+X = 1 -> flip H
-X = 3 -> flip H
+Y = 5 -> rotate 90 CW, flip H
-Y = 6 -> rotate 90 CCW, flip H
+Z = 2 -> flip H
-Z = 4 -> flip H

Use e.g. irfanview to flip and rotate the cube faces before loading the into dxtex.exe.

I tried scaling the reflection map to 512x512 cubemap, with mipmapping using dxt1c compression, no problem. Phoenix originally uses 128x128 RGB textures instead, but is flexible.

// CyCrow
Attached Thumbnails
Click image for larger version

Name:	newscene.jpg
Views:	358
Size:	49.3 KB
ID:	35867  
CyCrow is offline        Reply With Quote Quick reply to this message
Old 01-17-2008, 11:06 PM   #12 (permalink)
Registered Users
 
My HF Map location
Join Date: Dec 2007
Default



Wow devindh, How did you add a new scenery? Can you tell us the steps needed to do this?
gregwee is offline        Reply With Quote Quick reply to this message
Old 01-18-2008, 12:36 AM   #13 (permalink)
Registered Users
 
My HF Map location
Join Date: Dec 2007
Default

Thanks to devindh's post below, new sceneries have been created.. See my post below.

Last edited by gregwee; 01-18-2008 at 03:35 AM..
gregwee is offline        Reply With Quote Quick reply to this message
Old 01-18-2008, 01:36 AM   #14 (permalink)
Registered Users
 
Posts: 225
Thread Starter Thread Starter
 
My HF Map location
Join Date: May 2007
Default

Hi Greg,... first, sorry for my bad english, and clear explaination like Cycrow did, Thanks Cycrow.

For add a NEW SCENERY,....



1. Notice of 10 DIGIT of scenery name, "_import001" like 10 DIGIT of "dessertmesa"
2 Make copy of ORIGINAL "dessertmesa" folder to NEW "_import001" folder
3.Rename every file with "_import001" in beginning name of file instead of "dessertmesa",...(like foldername was, you notice this in heli files, aircraf files too)
4. Replace all of file in this folder with your created scenery, like this;
_import001cubemap.dds
_import0014.dds _import0015.dds
_import0012.dds
_import0013.dds
_import0016.dds
_import0011.dds
_import001_preview_small.dds
_import001.fly
_import001.map
_import001_preview_full.dds

5. All dds file can replaced to yours, but you can leave ????cubemap.dds still contain dessertmesa things (cause this file just related reflection maps) if you make OFF your reflection setting.

6 Now for final, using your hex editor, open _import001.map file, search in ASCII all of "dessertmesa" and replaced it with "_import001", thats all (this is WHY you have to keep 10 DIGIT for name of your new scenery/field).

7.Leave "import001.fly" like original from copy of dessertmesa ones (previously u just rename it to "_import001")


Cheers.

PS; 10 DIGIT mean like "qwertyuiop" so all file must be "qwertyuiop1.dds" and so on, i hope you understand what its mean.
devindh is offline        Reply With Quote Quick reply to this message
Old 01-18-2008, 03:46 AM   #15 (permalink)
Registered Users
 
My HF Map location
Join Date: Dec 2007
Default

Thanks to the info posted by devindh and CyCrow, I've created two new scenes for Phoenix.

First one is the "Elmshorner Modellbau Club eV" from Reflex.


The second one is the open field scene that is available from this post.


You can download the "Elmshorner Modellbau Club eV" scene from here, and the open field scene from here.

Steps:
1. Download the zip files from the link above.
2. Unzip it into "C:\Program Files\PhoenixRC\resources\environments\" with the default folder names included in the zip files.
3. Start Phoenix!

Hope you guys enjoy it.
Attached Thumbnails
Click image for larger version

Name:	ElmshornerV1_preview.jpg
Views:	1643
Size:	70.1 KB
ID:	35907   Click image for larger version

Name:	FreeStyleFld_preview.jpg
Views:	2079
Size:	31.7 KB
ID:	35908  
gregwee is offline        Reply With Quote Quick reply to this message
Old 01-18-2008, 07:23 AM   #16 (permalink)
Registered Users
 
Posts: 359
 
My HF Map location
Join Date: Aug 2007
Default

Thanks gregwee, that's what I've been waiting for, someone to upload new sceneries, and thanks to everyone else who has helped in this thread
flyboy320 is offline        Reply With Quote Quick reply to this message
Old 01-19-2008, 05:27 PM   #17 (permalink)
The Capi
 
Posts: 25,185
 
My HF Map location
Join Date: Oct 2006
Default

Someone needs to paint the HF logo on the white billboard on the freestyle field.
__________________
Spreading capibara awareness since 2006
DominicD is offline        Reply With Quote Quick reply to this message
Old 01-21-2008, 06:25 AM   #18 (permalink)
Registered Users
 
My HF Map location
Join Date: Dec 2007
Default

Quote:
Originally Posted by HFG View Post
Someone needs to paint the HF logo on the white billboard on the freestyle field.
HF logo added to the scenery..

You'll need to download the Free Style Field zip file again, then replace "FreeStyleFld2.dds" in "C:\Program Files\PhoenixRC\resources\environments\FreeStyleFl d\" directory.

Attached Thumbnails
Click image for larger version

Name:	hflogo.jpg
Views:	1472
Size:	47.7 KB
ID:	36157  

Last edited by gregwee; 01-21-2008 at 08:15 AM..
gregwee is offline        Reply With Quote Quick reply to this message
Old 01-22-2008, 08:28 PM   #19 (permalink)
Registered Users
 

Join Date: Apr 2005
Default

Would it be too gay if I told you guys I love you???

Man this is awesome work!!
raptor3dpilot is offline        Reply With Quote Quick reply to this message
Old 01-23-2008, 03:47 AM   #20 (permalink)
Registered Users
 

Join Date: Jun 2007
Default

I've ported one of my favourite scenery from RefleXTR

Available from here:
see page 4
Just put zip contents to Program Files\PhoenixRC\resources\environments\ directory

bye,
seaky
Attached Thumbnails
Click image for larger version

Name:	seakymap_prev_www.kepfeltoltes.hu_.jpg
Views:	287
Size:	29.2 KB
ID:	36471  

Last edited by seaky; 01-27-2008 at 03:08 PM..
seaky is offline        Reply With Quote Quick reply to this message
Reply




Quick Reply
Message:
Options

Register Now

In order to be able to post messages on the HeliFreak forums, you must first register.
Please enter your desired user name, your REAL and WORKING email address and other required details in the form below.
User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.
Password:
Confirm Password:
Email Address
Please enter a valid email address for yourself. Use a real email address or you will not be granted access to the site. Thank you.
Email Address:
Location
Where do you live? ie: Country, State, City or General Geographic Location please.
Name and Lastname
Enter name and last name here. (This information is not shown to the general public. Optional)
Helicopter #1
Enter Helicopter #1 type and equipment.
Helicopter #2
Enter Helicopter #2 type and equipment.
Helicopter #3
Enter Helicopter #3 type and equipment.
Helicopter #4
Enter Helicopter #4 type and equipment.

Log-in


Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Copyright © Website Acquisitions Inc. All rights reserved.
vBulletin Security provided by vBSecurity v2.2.2 (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.

SEO by vBSEO 3.6.1