Goto page Previous  1, 2

Subject: Re: file conversion
One thing I just noticed. I hope we are talking about the same citygen program. I noticed that your file extension is .wrl and the file format of citygen v1.5 is .cty.

The program I have is here

http://members.tripod.com/~DCieslak/util.html

Profile PM  
Subject: Re: file conversion
I just opened your CitygenV0.9.wrl file using vrml in my CAD program, exported it as a 3ds file and successfuly opened it in Poseray. The file openes upside down, but that should not be an issue. I also imported the 3ds file into Poser, it would appear successfully, but the exported obj will not open in my modeling program.

Further checking in my CAD shows that the entire city is one group, with no individual points or lines. Also in Poser, at a reduced scale of only 1%, the city was extremely large.

This is begining to intrigue me, so will play a bit more and see what I can figure out over the next few days.

Profile PM  
Subject:
Well, last word for tonight.

One of my modeling programs will import VRML. I opened the file, re-exported it in that programs native format, opened it in another modeling program and exported it as an obj, which I successfully opened in Poser.

I guess what this tells me is that the file appears to be in good condition, but may not convert properly depending on the implementation of the conversion format used by conversion programs. I can only add, make sure all your conversion programs are up to date with the most recent bug fixes. This may help solve your problem. :)

Profile PM  
Subject:
Thanks for this information :thumb: I was hoping, you'd join this thread :grin:

Subject:
Thanks Shawn :thumb:

Subject: Re: file conversion
melamkish";p="33104 wrote: 
You may want to upgrade to citygen v1.5. I looked at one of your files and it was generated by version 0.8/0.9.


I upgraded to citygen v1.5 and I still can't read it with PoseRay (same "no faces, no verticies" errors). I don't believe I've ever had problems reading the citygen files with PovRay but I still need to convert POV files to OBJ, 3DS or some other format that I can read in Poser or bryce.

Thanks for your efforts so far.

Subject:
It may only be an issue with the older version files. I'll take a little time tonight and see if I can generate a v1.5 file in citygen, export as a pov file and see what Poseray does.

Theoretically, if Poseray can read the file, it should be able to convert it to an obj. Will let you know what I find out.

Profile PM  
Subject:
It would seem that citygen v1.5 may not be 100% compatible with POVray 3.6. When I try to render in Povray I keep geting parse errors, which makes me believe it lags a few revisions. These syntax errors generated by citygen may be why the file ends up with no vertices or faces in Poseray.

The very first time I tried doing this same thing, I was able to correct the file errors and get a successful render, but that was over 6 months ago. I will have to do some more experimenting to figure out what I did. Once I get that far, I can see if Poseray can convert a POV file to OBJ.

But this may or may not be possible. The technical information buried in the POVray help file states that it is easy to convert to, but difficult to convert from POV to other formats. This is because POVray is similar to a scripting language and the data is not stored in the same manner or format used by most rendering platforms. So, although Poseray can read v3.6 POV files, it may not be able to convert the data to an obj file. I will continue to research this weekend and see if I can get an answer.

Profile PM  
Subject:
melamkish";p="33125 wrote: 
It would seem that citygen v1.5 may not be 100% compatible with POVray 3.6. When I try to render in Povray I keep geting parse errors, which makes me believe it lags a few revisions. These syntax errors generated by citygen may be why the file ends up with no vertices or faces in Poseray.


I had the same problem...for each error, the line before ended with a number. When I put a semicolon after the number to terminate the line, everything worked fine. I have also used the modified file in Poseray but got the same errors.

melamkish";p="33125 wrote: 

But this may or may not be possible. The technical information buried in the POVray help file states that it is easy to convert to, but difficult to convert from POV to other formats. This is because POVray is similar to a scripting language and the data is not stored in the same manner or format used by most rendering platforms. So, although Poseray can read v3.6 POV files, it may not be able to convert the data to an obj file. I will continue to research this weekend and see if I can get an answer.


:sad1: Yes, that is a possibility. If that is the case, I'll have to try navigating around the view and rendering it in a 2d format to use as a background for Poser or bryce - that's what I do with Terragin. In my experience, the navigation is the hardest part of this method. There are some city generator includes (separate product) that I also have and it takes me 20 to 30 renders to edit the source manually and get what I want.

Subject:
I finally got a good render by inserting "#version 3.51" before the first two declares. No other changes. After saving the file it would still not open in Poseray.

I hit the search engines and could not find reference to any conversion programs other than Crossroads, which now has a dead link, and one shareware file converter with a restricted demo. The demo skips every fifth vertex/face in the conversion, so I skipped downloading. The full registered version requires a payment and license. If you want the link, let me know and I will PM it to you.

Profile PM  
Subject:
melamkish";p="33147 wrote: 
I hit the search engines and could not find reference to any conversion programs other than Crossroads, which now has a dead link, and one shareware file converter with a restricted demo. The demo skips every fifth vertex/face in the conversion, so I skipped downloading. The full registered version requires a payment and license. If you want the link, let me know and I will PM it to you.


Not at this time. I don't like paying for something in the "hope" that it will be useful. :uuh:

Maybe sometime in the future after I've exhausted all the possibilities and REALLY want the conversion, I'll change my mind. :)

Goto page Previous  1, 2

Page 2 of 2


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You cannot download files
You cannot post calendar events