POV-Ray : Newsgroups : povray.general : dds and tga in povray Server Time
4 Nov 2024 19:17:55 EST (-0500)
  dds and tga in povray (Message 1 to 5 of 5)  
From: karmacowboy
Subject: dds and tga in povray
Date: 28 Jul 2008 12:15:01
Message: <web.488def156187cac1a911672a0@news.povray.org>
Hi

I have been working with making a spore creature and then export it in .mesh
file. Then I convert it with uu3d to the .obj format.

So I want to render my creature which is named creature a.obj and uses an dds
texture file...

But it writes this to me

//==================================================
//POV-Ray Materials list
//==================================================
//This file has been created by PoseRay v3.11.0.436
//3D model to POV-Ray/Moray Converter.
//Author: FlyerX
//Email: fly### [at] yahoocom
//Web: http://mysite.verizon.net/sfg0000/
//==================================================
//Files needed to run the POV-Ray scene:
//creature_a_POV_main.ini (initialization file - open this to render)
//creature_a_POV_scene.pov (scene setup of cameras, lights and geometry)
//creature_a_POV_geom.inc (geometry mesh)
//creature_a_POV_mat.inc (materials)
//SP-RAST-2F4E681C-40622900-06B77AA1-mm00.dds
//

#include "stdinc.inc"

//==================================================
//Map definitions
#declare p_map1=pigment {image_map{dds "C:\Documents and
Settings\Administrator\Desktop\WORK
Spore\SP-RAST-2F4E681C-40622900-06B77AA1-mm00.dds" interpolate 2 transmit all 0
filter all 0} }

//==================================================
//Material definitions
#declare creature_texture_=
material{
texture{ pigment{ p_map1}
        finish{specular 0 roughness 0.2401081 ambient rgb <0,0,0> diffuse 0.6
reflection{0 metallic} conserve_energy}}
}
//==================================================

The #declare part is in yellow. I presume that povray dont like dds texture
files.

I have tried converting the dds to tga but that made the texture all blue and
not colourfull. It did not work.

So I want to hear if there is a way of using .dds texture files in povray. Is
there some plugin or files I can install to make it accept these kind of
texture files.

Hope you can help and please remember I am really a povray newb aswell as within
3d programs.


Post a reply to this message

From: St 
Subject: Re: dds and tga in povray
Date: 28 Jul 2008 12:38:25
Message: <488df601$1@news.povray.org>
"karmacowboy" <tru### [at] ofirdk> wrote in message 
news:web.488def156187cac1a911672a0@news.povray.org...
> Hi

    Hi and welcome

     Are you using DDS Converter 2.1? If not, use this to convert to JPEG 
images.

          http://eliteforce2.filefront.com/file/DDS_Converter;29412

        For Crysis?  :)

       ~Steve~


Post a reply to this message

From: karmacowboy
Subject: Re: dds and tga in povray
Date: 28 Jul 2008 13:15:00
Message: <web.488dfe81ec1eec60a911672a0@news.povray.org>
Yes, I have tried it but the creature is all blue and not the original colours.

It is a bit special because I use a game editor to design a creature then I use
a program called spview to extract the .mesh ...later on converts it to .obj
along with the .dds which should be able to render in povray.

There are perhaps a problem with the spview program which is not commersial. So
I will contact the maker of it!

Thanks for your help. I was just not sure if it was possible to use .dds files
in povray or I do need tga for it to texture my creature!

J.


Post a reply to this message

From: Blue Herring
Subject: Re: dds and tga in povray
Date: 28 Jul 2008 13:31:56
Message: <488e028c$1@news.povray.org>
karmacowboy wrote:
> Yes, I have tried it but the creature is all blue and not the original colours.
> 
> It is a bit special because I use a game editor to design a creature then I use
> a program called spview to extract the .mesh ...later on converts it to .obj
> along with the .dds which should be able to render in povray.
> 
> There are perhaps a problem with the spview program which is not commersial. So
> I will contact the maker of it!
> 
> Thanks for your help. I was just not sure if it was possible to use .dds files
> in povray or I do need tga for it to texture my creature!

DDS files are not supported directly AFAIK.  I'm not familiar with the 
format myself, but I did run into a GIMP plugin for DDS files you could 
try: http://nifelheim.dyndns.org/~cocidius/dds/  If this DDS format 
stores more than just a raster image, it may be why you are having trouble.

-- 
-The Mildly Infamous Blue Herring


Post a reply to this message

From: St 
Subject: Re: dds and tga in povray
Date: 28 Jul 2008 17:31:53
Message: <488e3ac9$1@news.povray.org>
"karmacowboy" <tru### [at] ofirdk> wrote in message 
news:web.488dfe81ec1eec60a911672a0@news.povray.org...
> Yes, I have tried it but the creature is all blue and not the original 
> colours.
>
> It is a bit special because I use a game editor

   I use CE2(Crytek). Which game editor are you using?



to design a creature then I use
> a program called spview to extract the .mesh ...later on converts it to 
> .obj
> along with the .dds which should be able to render in povray.

    No, I'm sorry, afaik, PoV-Ray doesn't support .dds files. (It would be 
cool if it did). :)

>
> There are perhaps a problem with the spview program which is not 
> commersial. So
> I will contact the maker of it!
>
> Thanks for your help. I was just not sure if it was possible to use .dds 
> files
> in povray or I do need tga for it to texture my creature!

     No probs, (I like to help when and if I can), but why .tga only?


       ~Steve~


       J.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.