Trouble positioning and viewing children items.

Discussion of rolling-stock creation & re-painting.

Trouble positioning and viewing children items.

Unread postby roinuj » Tue May 22, 2012 4:02 pm

Hi Guys,

I'm having some weird problems with adding children items and re-positioning them and then viewing the changes. I never had this problem when I created and added child items on my Ex-CN Zebra pack.

I've created a couple child items to create some logo decals to add to a re-skin. I can see the decals in the Asset Viewer when I created and exported them, no problem. I can add them to the rail vehicle asset and see them in the default location when I have the x,y,z, coordinates set to 0,0,0 but after I change the position coordinates in the blueprint matrix, when I reload and review the asset on my repaint route its not updating the view at all. They seem to be stuck.

I'm viewing in game on a repaint route I created. I created a scenario for each asset I'm editing so I can load what I'm working on. I did get it to move once but when I tried to fine tune the coordinates, it went back to the default location. I've tried clearing the cache when I restart the game but its not moving the children items at all.

Like I said, I had no problem with it with the Ex-CN Zebra pack I did. I could easily adjust and fine tune the coordinated and move the item around and simply reload my repaint route/scenario and see the changes. Shouldn't be a big deal but now its not working.

!*hp*!

Any ideas what I'm doing wrong?

Thanks
I take your clean locomotives and make them dirty!

My Railworks Reskins Website
My Graphics Website - dc2graphics.com
User avatar
roinuj
 
Posts: 301
Joined: Mon Oct 31, 2011 11:37 am
Location: Ontario, Canada

Re: Trouble positioning and viewing children items.

Unread postby PapaXpress » Tue May 22, 2012 6:06 pm

Did you make sure they are checked off in the object browser? If you make a new folder to place the files in then you need to enable it.
Image
"Just post some random unrelated text. We have members here who can help you with that." ~ Chacal
"When all else fails, read the instructions... if that doesn't work either, try following them." ~ Old Prof
Image
The Grade Crossing - Atlanta North Project - Virtual Rail Creations
User avatar
PapaXpress
 
Posts: 5147
Joined: Sat Oct 23, 2010 10:30 pm
Location: that "other" timezone

Re: Trouble positioning and viewing children items.

Unread postby roinuj » Tue May 22, 2012 8:11 pm

Thanks PapaXpress, I actually placed the child files in the asset directory so its shouldn't be a problem. The thing is they do load, I can see them with the asset but when I re-position them in the blueprint, it seems its not taking the edits and won't render with the new coordinates.
I take your clean locomotives and make them dirty!

My Railworks Reskins Website
My Graphics Website - dc2graphics.com
User avatar
roinuj
 
Posts: 301
Joined: Mon Oct 31, 2011 11:37 am
Location: Ontario, Canada

Re: Trouble positioning and viewing children items.

Unread postby PapaXpress » Tue May 22, 2012 9:11 pm

AH YES. I ran into this the other night. I had to shut down RW completely and remove the blueprint files and restart. I am not sure which step did the trick (removing the blueprint was not enough) but I got it to work. Normally all I need to is restart the scenario.
Image
"Just post some random unrelated text. We have members here who can help you with that." ~ Chacal
"When all else fails, read the instructions... if that doesn't work either, try following them." ~ Old Prof
Image
The Grade Crossing - Atlanta North Project - Virtual Rail Creations
User avatar
PapaXpress
 
Posts: 5147
Joined: Sat Oct 23, 2010 10:30 pm
Location: that "other" timezone

Re: Trouble positioning and viewing children items.

Unread postby roinuj » Tue May 22, 2012 10:24 pm

Thanks PapaXpress. You know, now that I think about it, the one time I did see the child item repositioned was when I made the edit change, closed RW Tools and the restarted RW. I'll give that a try and see if that does anything.
I take your clean locomotives and make them dirty!

My Railworks Reskins Website
My Graphics Website - dc2graphics.com
User avatar
roinuj
 
Posts: 301
Joined: Mon Oct 31, 2011 11:37 am
Location: Ontario, Canada

Re: Trouble positioning and viewing children items.

Unread postby Machinist » Tue May 22, 2012 10:56 pm

@Papa, when working with new blueprint "files" you don't need to shut down RW completely and restart, you can clear cache whilst still in game just before (re)load the scenario.

@roinuj, AFAIK you don't need to close RW Tools in order to "see" matrix's changes (I mean when editing an existing file). The file you are editing is bin or xml? Once I was having problems because I use to edit bin files and save with CTRL+S, but at that time I was working in a *xml file. CTRL+S doesn't work when editing xml files, I thought I was saving the changes in the xml but in fact I was not. Just a thought.

Maybe this helps to understand how cache files works, and when and how you need (or have) to clear them:
viewtopic.php?f=6&t=5428
Who doesn't have dog, hunts with cat.
User avatar
Machinist
 
Posts: 1105
Joined: Fri Apr 02, 2010 1:02 am
Location: São Paulo, Brazil

Re: Trouble positioning and viewing children items.

Unread postby PapaXpress » Tue May 22, 2012 11:30 pm

Machinist wrote:@Papa, when working with new blueprint "files" you don't need to shut down RW completely and restart, you can clear cache whilst still in game just before (re)load the scenario.


Yes, I understand this. This happened to be one case where it was the only solution to the problem.
Image
"Just post some random unrelated text. We have members here who can help you with that." ~ Chacal
"When all else fails, read the instructions... if that doesn't work either, try following them." ~ Old Prof
Image
The Grade Crossing - Atlanta North Project - Virtual Rail Creations
User avatar
PapaXpress
 
Posts: 5147
Joined: Sat Oct 23, 2010 10:30 pm
Location: that "other" timezone

Re: Trouble positioning and viewing children items.

Unread postby roinuj » Wed May 23, 2012 4:02 pm

I tired adjusting another asset I had with children items that I added and was able to easily move the child with RWTools and view it in RW by only reloading the scenario so its not my set up. I tried loading the new child into an existing asset and similar goofy things happened. Couldn't get it to move and the orientation was messed up. Leads me to believe I may have done something wrong in the creation of the item. Strange thing is when I create the asset, it loads into the Asset viewer in the game and looks exactly as I expected it.

I think I'll go back to square one and recreate the model and try again. At least it gives me a chance to learn more about 3DC. !DUH!
I take your clean locomotives and make them dirty!

My Railworks Reskins Website
My Graphics Website - dc2graphics.com
User avatar
roinuj
 
Posts: 301
Joined: Mon Oct 31, 2011 11:37 am
Location: Ontario, Canada

Re: Trouble positioning and viewing children items.

Unread postby PapaXpress » Wed May 23, 2012 4:44 pm

I doubt it is the model itself. After my first battle with the child object it started to behave properly again.
Image
"Just post some random unrelated text. We have members here who can help you with that." ~ Chacal
"When all else fails, read the instructions... if that doesn't work either, try following them." ~ Old Prof
Image
The Grade Crossing - Atlanta North Project - Virtual Rail Creations
User avatar
PapaXpress
 
Posts: 5147
Joined: Sat Oct 23, 2010 10:30 pm
Location: that "other" timezone

Re: Trouble positioning and viewing children items.

Unread postby roinuj » Wed May 23, 2012 6:02 pm

We'll the child model a dead simple model, a surface for a decal. Can't be any simpler. I'm copying the blueprint code like I did in the past. When I added to the child in one asset it sticks under the railcar in what appears to be the origin. In the other asset I tested it on, it sticks out of the back end of the long hood at a 45 degree angle. In both cases, the child x,y,z coordinates are set to 0,0,0 which is why I thought maybe I messed up the coordinates in the model (but I really don't think so)?

I'm clearly making a mistake somewhere in the blueprint edit. Maybe I should just take a break and go drive a train and let my head clear. Its driving me nuts, especially because it should be a simple mod.
I take your clean locomotives and make them dirty!

My Railworks Reskins Website
My Graphics Website - dc2graphics.com
User avatar
roinuj
 
Posts: 301
Joined: Mon Oct 31, 2011 11:37 am
Location: Ontario, Canada

Re: Trouble positioning and viewing children items.

Unread postby PapaXpress » Wed May 23, 2012 7:01 pm

Not sure what to tell you. I've made my share of decals and have not had any problems.
Image
"Just post some random unrelated text. We have members here who can help you with that." ~ Chacal
"When all else fails, read the instructions... if that doesn't work either, try following them." ~ Old Prof
Image
The Grade Crossing - Atlanta North Project - Virtual Rail Creations
User avatar
PapaXpress
 
Posts: 5147
Joined: Sat Oct 23, 2010 10:30 pm
Location: that "other" timezone

Re: Trouble positioning and viewing children items.

Unread postby harryadkins » Wed May 23, 2012 7:11 pm

Sure do wish one of you guys would produce a simple tutorial on making child items, such as a decal.
User avatar
harryadkins
 
Posts: 3178
Joined: Sun Aug 23, 2009 8:01 am
Location: South Carolina, USA

Re: Trouble positioning and viewing children items.

Unread postby PapaXpress » Wed May 23, 2012 8:12 pm

In 3DC drop a cube. Scale it so you have one side the size you need. Next, remove all the faces you are not using (usually all but one you scaled). Then use the TrainDecal.fx in the Rail Sin slot. Finally ally you texture.

If I get some time I will get some screen shots.

Now if you are using this for number or parts on rolling stock you need to prefix decal_ to the group name.
Image
"Just post some random unrelated text. We have members here who can help you with that." ~ Chacal
"When all else fails, read the instructions... if that doesn't work either, try following them." ~ Old Prof
Image
The Grade Crossing - Atlanta North Project - Virtual Rail Creations
User avatar
PapaXpress
 
Posts: 5147
Joined: Sat Oct 23, 2010 10:30 pm
Location: that "other" timezone

Re: Trouble positioning and viewing children items.

Unread postby roinuj » Thu May 24, 2012 3:43 pm

Well I'm not sure what happened or why but I was able to get this mystery fixed.

By chance I decided to try one of the repaint assets with the child movement problem on another route. When I did, the asset rendered the child object re-positioned. So I created a new dummy paint route and created a new scenario with the repaint asset and everything worked. Piece of cake to move the child assets around and re-position. For whatever reason, my initial paint route was causing the problem? Not sure why but the only thing I did was recreat it using another template instead of default. !*don-know!*

Anyways, I'm back on track with my project. Thanks PapaXpress and others for trying to help me isolate the problem. !*cheers*!

With regards to a tutorial, I think it would be very helpful for those wishing to modify their assets. I know we are all busy with not nearly enough time in the day but if I can be of any help in a collaboration to put together a comprehensive tutorial, I'd be happy to help. Just PM me.

Off to the decal shop.....
I take your clean locomotives and make them dirty!

My Railworks Reskins Website
My Graphics Website - dc2graphics.com
User avatar
roinuj
 
Posts: 301
Joined: Mon Oct 31, 2011 11:37 am
Location: Ontario, Canada

Re: Trouble positioning and viewing children items.

Unread postby Kali » Sun May 27, 2012 3:02 am

I've taken to positioning child objects in the 3d editor instead of messing with the position matrix, although that does tend to limit the usefulness of reusable things like portable lights. You can combine multiple children into one object that way though.

The decal_ material name - I assume 3dc gets it's material name from the group? :shrug: - prefix is needed if you want your new model to alpha-blend it's edges with the old one, irrespective of what you're going to do with it.
Kali
 
Posts: 1600
Joined: Mon Mar 14, 2011 1:00 am
Location: England-by-Sea

Next

Return to Rolling-Stock Design

Who is online

Users browsing this forum: No registered users and 4 guests