Go Back   Knife Edge > RealFlight - Designer's Corner > RealFlight 6 - Designer's Corner
Use of this site is subject to our Terms of Use. | Technical Support is available from Great Planes Software Support.

Reply
 
Thread Tools Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
  #1  
Old 03-30-2012, 03:43 PM
Zach Brockway Zach Brockway is offline
Registered User
 
Join Date: Apr 2007
Location: Corvallis, OR, USA
Posts: 9
Custom propeller basic tutorial

On the heels of support for custom helicopter visual blades comes support for custom propellers! Again, this post is intended to be a brief introduction to the authoring requirements, and a more detailed tutorial will be posted at a later date.

Note that it’s possible to create both variable pitch propellers and folding propellers; however, the specifics are not covered in this initial post. We'll let you know when the full tutorial is available.

Overview
A RealFlight propeller is comprised of several distinct components: a clockwise blade model, a counterclockwise blade model, a blur disk model, and a side view texture. You are not required to provide a blur disk model for a propeller; if the blur disk is omitted, RealFlight will use a default blur disk. Texturing for blur disks is a special case and will be described in more detail later.

The KEX Import Wizard process will prompt you for any one of the three KEX models, then it will automatically locate the other two based on their filenames. You must therefore follow the naming conventions described below for the import to succeed.

The wizard will then prompt for a name and a basis for your propeller. RealFlight's import process will automatically create new KEX and texture files using the name you provide. It is also the name by which the new propeller will be known in the sim.

Once you've imported a custom propeller, you can then select it from the Vehicle Editor for your custom EAs and variants, and it will be included with them when they are exported as RFX files to share with other users.

The orientation of the frames’ pivots, as well as the orientation of the frames themselves in world space, MUST match RealFlight's expectations in order to work properly. Pay close attention to the attached screenshots and the XYZ axes shown.

Single Blade Geometry
(e.g. MyProp_CW.kex, MyProp_CCW.kex)
Both a clockwise and counterclockwise KEX are required. Their filenames must end in _CW and _CCW, respectively, as shown in the example above.

The clockwise and counterclockwise propeller blade models each require a single frame called “~CS_BLADE", which should also be the parent of a collision frame ("~CS_COLL"). It is important to scale the blade so that it has a radius of exactly 1 foot (measured from the origin) in 3ds Max. The ~CS_BLADE frame is rotated and duplicated according to the number of blades that the vehicle’s Engine Component is configured to have.

In addition to the ~CS_BLADE frame, you can create a frame named “HUB” which will contain geometry that is NOT duplicated according to the number of blades.

The pivot of both frames should be positioned at the propeller’s axis of rotation. The frames should in turn be positioned so the pivots are at the origin.

Refer to the screenshots attached to this post for the correct orientation.

Blur Disk Geometry (optional)
(e.g. MyProp PropDisk.kex)
If a blur disk is provided, its filename must end in " PropDisk" (note the space), as shown in the example above.

The blur disk requires a single frame called "~CS_BLADEDISK" and does not require any collision geometry. The blur disk pivot should be positioned at the center of the disk. The object should in turn be positioned so the pivot is at the origin.

Refer to the screenshots attached to this post for the correct orientation.

Side View Texture
(e.g. MyProp Side.tga)
This texture is designed to provide a view of the propeller in motion when viewed edge-on. It should include motion blur, and should be carefully matched to the profile of the blur disk shape.

Single Blade Texturing
The clockwise and counterclockwise single blade models are textured as you would texture any other model. They do not support normal or specular maps at this time. Most often, it will make sense for the clockwise and counterclockwise models to share a common texture, although this is not strictly required.

Blur Disk Texturing
The texturing of a blur disk model is handled specially; the UV coordinates specified in the model are disregarded by RealFlight, and new UVs are automatically generated.

The UVs generated will map to a single horizontal row of pixels approximately 15% of the way down the texture. The left side of the row will map to the inside edge of the disk, and the right side will map to the outer edge. In many cases this is effective enough that a special blur disk and texture are not required.
Attached Images
File Type: png PropBlade.png (20.9 KB, 49 views)
File Type: png PropDisk.png (38.3 KB, 33 views)
Reply With Quote
  #2  
Old 03-31-2012, 01:49 AM
Boof69's Avatar
Boof69 Boof69 is offline
Registered User
 
Join Date: Oct 2010
Location: Swartz Creek,Michigan
Posts: 5,169
Just for a clarification of what's described here. If you are making a custom propeller you will need no less than 3 files.
  • MyProp_CW.kex
  • MyProp_CCW.kex
  • MyProp Side.tga

As stated above the .kex files require an _CW or _CCW while the Side.tga requires a space in the same place.

The Side.tga is unique in that it has no particular uni-dimensional size and that it is not applied to anything object in 3ds Max. Also to get it to render properly it will need an alpha channel masking the background with black and saved as a 32 bit image.
The way I generated a Side.tga was to first map and texture the propeller. Once done I rendered the single blade in the orthographic TOP view at 1024x768 resolution. This gave me a good Side view. I opened the render in PS And oriented it vertically. Then applied a 90° motion blur. Then using the selection acquired from the side view layer thumbnail I switched to the channels pallet and added an alpha channel then filled the selection white. Then I cropped the image and saved as a 32 bit .tga. All this was after a few tries having alignment and alpha problems.

Another point that wasn't immediately clear was that not only are _n and _s maps not supported, but any amount of specular level or glossiness applied as a baked material will not be tolerated in the sim. My prop came out as a chrome blade.

It's hard to notice in Zach's pictures above that The pivot must be set to the rear of the prop hub as well as at the prop blades center of rotation. Once there then center it to the origin 0,0,0.

I attempted the optional blur disk but couldn't figure out what tga to apply to it since one is required.

I hope this helps until the full tutorial is posted.
Attached Images
File Type: jpg ScreenShot1333168109.jpg (333.7 KB, 60 views)
File Type: jpg ScreenShot1333168081.jpg (343.2 KB, 49 views)
File Type: jpg ScreenShot1333168064.jpg (281.5 KB, 48 views)
Reply With Quote
  #3  
Old 04-06-2012, 10:00 PM
Deewng's Avatar
Deewng Deewng is offline
Registered User
 
Join Date: Jul 2009
Location: La Grange KY USA
Posts: 534
Boof69 Hello

From your clarification, is the side view .tga from the edge view of the prop disc in the shape of the blade's profile radius?
__________________
[FONT=Comic Sans MS]Wesley Foster (Deewng)

===============================================
Reply With Quote
  #4  
Old 04-06-2012, 10:04 PM
Boof69's Avatar
Boof69 Boof69 is offline
Registered User
 
Join Date: Oct 2010
Location: Swartz Creek,Michigan
Posts: 5,169
No it's just taken from a render of the prop blade itself. I couldn't get the propdisk figured out from the basic tutorial. So my prop is using a default propdisk.
Reply With Quote
  #5  
Old 04-06-2012, 10:08 PM
Deewng's Avatar
Deewng Deewng is offline
Registered User
 
Join Date: Jul 2009
Location: La Grange KY USA
Posts: 534
Quote:
Originally Posted by Boof69 View Post
No it's just taken from a render of the prop blade itself. I couldn't get the propdisk figured out from the basic tutorial. So my prop is using a default propdisk.
OK soit is a basic map of the single blade + hub. And they are going to now support counter rotating props? CW aand CCW of the props to be used?

Quite a step forward.......
__________________
[FONT=Comic Sans MS]Wesley Foster (Deewng)

===============================================
Reply With Quote
  #6  
Old 04-06-2012, 10:12 PM
Boof69's Avatar
Boof69 Boof69 is offline
Registered User
 
Join Date: Oct 2010
Location: Swartz Creek,Michigan
Posts: 5,169
This is what it looks like but with the white area surrounding would be transparent when using the tga. This is just a jpeg.
Attached Images
File Type: jpg Sensenich side.jpg (49.3 KB, 31 views)
Reply With Quote
  #7  
Old 04-06-2012, 10:23 PM
Deewng's Avatar
Deewng Deewng is offline
Registered User
 
Join Date: Jul 2009
Location: La Grange KY USA
Posts: 534
Quote:
Originally Posted by Boof69 View Post
This is what it looks like but with the white area surrounding would be transparent when using the tga. This is just a jpeg.
Is Just the one .tga used for both the CW and CCW versions?
__________________
[FONT=Comic Sans MS]Wesley Foster (Deewng)

===============================================
Reply With Quote
  #8  
Old 04-06-2012, 10:24 PM
Boof69's Avatar
Boof69 Boof69 is offline
Registered User
 
Join Date: Oct 2010
Location: Swartz Creek,Michigan
Posts: 5,169
Yes sir.
Reply With Quote
  #9  
Old 04-06-2012, 10:30 PM
Deewng's Avatar
Deewng Deewng is offline
Registered User
 
Join Date: Jul 2009
Location: La Grange KY USA
Posts: 534
Quote:
Originally Posted by Boof69 View Post
Yes sir.
Sweet............. I just can't believe that I will be able to use counter-rotating props .

WOW............... By the way thanks for your time and expertise..
__________________
[FONT=Comic Sans MS]Wesley Foster (Deewng)

===============================================
Reply With Quote
  #10  
Old 04-06-2012, 10:32 PM
Boof69's Avatar
Boof69 Boof69 is offline
Registered User
 
Join Date: Oct 2010
Location: Swartz Creek,Michigan
Posts: 5,169
It is definitely a good move forward. Your welcome.
Reply With Quote
  #11  
Old 04-08-2012, 07:51 PM
jeffpn's Avatar
jeffpn jeffpn is offline
Registered User
 
Join Date: Mar 2005
Location: Beavercreek, OH
Posts: 18,386
Zach, could we get a sample propeller including a blur disc, with all required files, including .tga files?? I don't know how to determine where "approximately 15% down" would be. I'm not following that.
Reply With Quote
  #12  
Old 04-08-2012, 10:04 PM
Kmot's Avatar
Kmot Kmot is offline
Registered User
 
Join Date: Mar 2003
Location: California
Posts: 1,772
Quote:
Originally Posted by Deewng View Post
Sweet............. I just can't believe that I will be able to use counter-rotating props .
I know that Doug Kaye's (dhk79) Bugatti racer had contra-rotating props. Version G3.5
__________________
It's a simulator, not a video game! err.... umm....
Reply With Quote
  #13  
Old 10-14-2012, 06:47 PM
abaser's Avatar
abaser abaser is offline
Registered User
 
Join Date: Jun 2010
Location: stuttgart, AR
Posts: 3,729
Quote:
Originally Posted by jeffpn View Post
Zach, could we get a sample propeller including a blur disc, with all required files, including .tga files?? I don't know how to determine where "approximately 15% down" would be. I'm not following that.
Did we ever get this sample blade?
Reply With Quote
  #14  
Old 10-14-2012, 07:33 PM
Boof69's Avatar
Boof69 Boof69 is offline
Registered User
 
Join Date: Oct 2010
Location: Swartz Creek,Michigan
Posts: 5,169
Nope. The blur disc is easy to make. Use the tutorial I made for the heli blur disc.
I think if you map the blade and orient it horizontally with the hub on the left on the map the sim will apply a row of pixels 15% of the way down the tga to the blur disc and spin it.
Reply With Quote
  #15  
Old 04-20-2013, 10:04 PM
willsonman's Avatar
willsonman willsonman is offline
Registered User
 
Join Date: Oct 2007
Location: Maryland
Posts: 1,940
So, I went to go make my first custom prop. It looks great sitting still but when it moves I think I may need to create a blur disc and somehow get the alignment right on the side profile. Not sure how to do that one. I'll review the blur disc tutorial but can anyone elaborate on how the side.tga should be properly generated? Hopefully the pictures attached will better describe what I am saying.
Attached Images
File Type: jpg front view.jpg (181.7 KB, 23 views)
File Type: jpg front view blurr.jpg (177.0 KB, 25 views)
File Type: jpg side view blurr.jpg (130.1 KB, 23 views)
__________________
RF loading quote of the day:
Loading: Gerfiburlating Wonkevators ( have a screen shot to prove this one)
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not 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

Forum Jump


All times are GMT -4. The time now is 01:36 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.