Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Tue Mar 19, 2024 7:49 am
All times are UTC + 0
3ds2VXL
Moderators: stucuk
Post new topic   Reply to topic Page 1 of 1 [22 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
AndreB
Guest




PostPosted: Tue May 17, 2016 10:40 pm    Post subject:  3ds2VXL
Subject description: Texture conversion problems
Reply with quote  Mark this post and the followings unread

Iam using VSLSE 3ds2vxl plugin to convert a model i made from scratch in blender to vxl format to use in OpenRA.

Heres the model in blender:
http://i.imgur.com/B0PqEID.png
Heres the model in VSLSE after using 3ds2vxl
[img]
http://i.imgur.com/5ebWrUV.png[/img]

Only the material colors are used.

Ive tried everything, ive made sure the 3ds model materials and texture names are shorter than 8 characters.

Ive also made sure the texture is on the same folder as the 3ds model.

And ive looked into the 3ds file itself and the texture and materials are properly saved.

Is texture conversion broken?

I can supply the 3ds file + texture if anyone is willing to help me.

Back to top
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Wed May 18, 2016 8:31 am    Post subject: Reply with quote  Mark this post and the followings unread

You have to use BMP textures and not PNG, from what I know.

Although I never used that tool myself because it generates terrible results and touching them up to be acceptable by hand might take as much time as recreating them from scratch.

_________________
"If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
ViPr
Gauss Rifle Trooper


Joined: 30 Dec 2004

PostPosted: Wed May 18, 2016 9:30 am    Post subject: Reply with quote  Mark this post and the followings unread

Ever since the voxelizer started using SDL DLL files, it hasn't been so limited in which picture file formats it could use for textures.

Texture conversion should work although there are still some problems such as BMP files, of the paletted variety, or the compressed variety, not working for example, if I remember correctly. Maybe you should try different picture formats.

Back to top
View user's profile Send private message
AndreB
Guest




PostPosted: Wed May 18, 2016 10:32 am    Post subject: Reply with quote  Mark this post and the followings unread

Thank you for the reply, i wasn't expecting to be so fast.

I have tried several different formats from compressed to uncompressed, and currently what happens is that the .vxl is written, says so on the command window, and then 3ds2vxl crashes.

After it crashes the model appears to be correctly generated but only with material colors.

Like i said in the original post.

So i think it might be two problems, either i didn't set up my 3ds file to have the associated texture file, or my image format is incorrect.

However i have pretty much tried all of the export options in paint.net and photoshop.

Well feel free to tell me more stuff to try, or  you can download the associated 3ds file plus the texture here if you have the time to look at them.

https://www.dropbox.com/s/kyadg3uskvplkln/nodharvestor.zip?dl=0

Thanks for your time.

Back to top
ViPr
Gauss Rifle Trooper


Joined: 30 Dec 2004

PostPosted: Thu May 19, 2016 3:10 am    Post subject: Reply with quote  Mark this post and the followings unread

I have not been able to solve the problem yet, and now I need a long break.

By the way, have you tried reimporting what you exported from Blender to see if your 3DS file is correct?

Back to top
View user's profile Send private message
Andre B
Guest




PostPosted: Thu May 19, 2016 10:52 am    Post subject: Reply with quote  Mark this post and the followings unread

Don't worry iam not in a hurry, as loong as this hopefully gets fixed its fine in my book.

Yes i have reimported the model into blender and material and texture info seem fine.

I have also exported the model in .obj format and reimported it and it does have textures and materials assigned.

Furthermore opening the .3ds file with a regular text editor i can find the material names and texture names in the file itself.

Back to top
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Thu May 19, 2016 1:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

I downloaded the model & imported it into 3DS Max & it gave me a UVW mapping error.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Andre B
Guest




PostPosted: Thu May 19, 2016 1:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

What kind of error, let me guess blender 3ds export is broken?

Back to top
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Thu May 19, 2016 2:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

It just says that the UVW coordinates are missing.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
ViPr
Gauss Rifle Trooper


Joined: 30 Dec 2004

PostPosted: Thu May 19, 2016 3:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

3DS2VXL will display the names of meshes, materials, and textures in its text output, which I will admit is very messy and confusing. I don't see any texture name there. However, I do see a texture name when viewing the 3DS file in a text editor. I really don't know what is happening.

Last edited by ViPr on Thu May 19, 2016 4:26 pm; edited 1 time in total

Back to top
View user's profile Send private message
Andre B
Guest




PostPosted: Thu May 19, 2016 3:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

OMG i fixed it, the fix was using blender 2.43 3ds exporter......

Back to top
Andre B
Guest




PostPosted: Thu May 19, 2016 3:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

Sorry for double post, but for future reference because i know several people have posted this in other threads.

The 3ds format is aparently deprecated and unsuported in some 3d modeling programs.

Just make sure to use a working 3ds exporter it took me a very loong time searching the internet but i finaly found a solution.

Back to top
ViPr
Gauss Rifle Trooper


Joined: 30 Dec 2004

PostPosted: Thu May 19, 2016 4:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

So, you have to use an old version of Blender? That is a bit ridiculous.

Do you have to use an old version of Blender, or does the new Blender let you switch between different versions of the 3DS exporter to use?

Last edited by ViPr on Thu May 19, 2016 4:56 pm; edited 2 times in total

Back to top
View user's profile Send private message
ViPr
Gauss Rifle Trooper


Joined: 30 Dec 2004

PostPosted: Thu May 19, 2016 4:55 pm    Post subject: Reply with quote  Mark this post and the followings unread

By the way, the 3DS2VXL crash is probably because 3DS models exported from Blender are missing animation related data, which such files normally have even if there is no animation, from what I remember, and 3DS2VXL was mistakenly not programmed to initialize that data with default values if the data is missing from the 3DS file. This bug prevents 3DS2VXL from making an HVA file for the VXL. If a program requires an HVA file to exist for each VXL file, then I think a generic default one can just be copied and used instead, considering that there isn't actually any animation, in this case.

Back to top
View user's profile Send private message
Andre B
Guest




PostPosted: Thu May 19, 2016 5:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

You can use a newer version of blender to make the model plus texture.

But then you have to save it in .obj form import it into the old version set the materials and then export the 3ds from there.

The conversion works but the end result looks a bit too dark, only red color and black/grey colors appears.

But thats for another day and perhaps another thread.

Thanks for the help.

Back to top
ViPr
Gauss Rifle Trooper


Joined: 30 Dec 2004

PostPosted: Thu May 19, 2016 8:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

Why are you transferring the model, from the new to the old version of Blender, as an OBJ instead of a 3DS file?

Is the voxel too dark no matter what methods you use?

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Fri May 20, 2016 3:38 am    Post subject: Reply with quote  Mark this post and the followings unread

Is it limited to the blender version script or is it that the 3DS2VXL from 2007 can't figure out texture from
3ds files created with later than 3DSMax9 versions?

Back to top
View user's profile Send private message
Andre B
Guest




PostPosted: Sun May 22, 2016 9:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

Well it can be that 3ds2vxl uses an older 3ds format.

But i don't know, so far what ive seen is that the newest blender 3ds format is imcompatible with the blender 2.43 3ds importer.

And only the 3ds format exportable from blender 2.43 seems to work.

Back to top
Andre B
Guest




PostPosted: Sun May 22, 2016 10:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

In terms of what i did about the texture, it only seemed to recognise red, when i added some patches of red to my model and increased their saturation to maximum.

The rest was random patches of dark, in general the texture conversion was extremely bad.

Sorry for double post.

If you have any tips of what kind of colors i should use or if i should have a consistent palete of colors feel free to post.

Back to top
ViPr
Gauss Rifle Trooper


Joined: 30 Dec 2004

PostPosted: Sun May 22, 2016 11:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

The bright white logo should have appeared quite bright. I expect the white lines might look a little dark after voxelization because they are very thin, and the voxel is probably low resolution. So, the white lines will be blended in with a lot of surrounding blackness.

There is a feature of 3DS that allows textures to be mixed with the material flat properties. Therefore, you can make the textures look dark by mixing them with black flat material color. Are you sure the texture was turned up to 100% in the material?

Anyway, besides this, 3ds2vxl has a feature to turn up the brightness of voxels because darkness was complained about before.

By the way, I don't recommend using the color black for voxels in these games. If I remember correctly, the official games don't render black voxels as shiny and therefore the black will just look like shapeless death void.

Back to top
View user's profile Send private message
ViPr
Gauss Rifle Trooper


Joined: 30 Dec 2004

PostPosted: Mon Jun 27, 2016 3:55 am    Post subject: Reply with quote  Mark this post and the followings unread

DonutArnold just said that the texture files have to also be in the same folder as the .blend file for the .3ds textures to work. That seems strange, but anyway, does that work for you with the latest Blender version?

Back to top
View user's profile Send private message
malius123
Disk Thrower


Joined: 14 Aug 2010

PostPosted: Wed Jun 21, 2017 6:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

awww man, this issue has plagued me for over 6 months and only just read this thread.

tested both 2.7  blender and 2.43, blender

2.7 just voxelises the voxel and makes it white, 2.7 blender appears to have some hidden veiwport colouring issue in cycles render, exported models appear to have the veiwport  colour that is set in cycles render mode instead of the actual colour when voxelisation occurs

2,4 following exactly same method , seems to voxelise the image with the textures but the process of exporting the model then importing it as an object into 2.4 brings a host of other issues.like my very limited patience with blender 2.43

has anyone succesfull exported a model and textures  using 3ds2vxl and blender 2.7 or any of the most recent blender versions

so far , using materials and baking them on seems to be the only method i can do in 2.7

what convention did you use

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [22 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1684s ][ Queries: 11 (0.0099s) ][ Debug on ]