Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Why is there no discrete cosine transform implementation for model files like JPEG ones?

Author
Message
Programmer X
16
Years of Service
User Offline
Joined: 14th Nov 2007
Location:
Posted: 16th Mar 2015 03:13
Topic

XXX
Programmer X
16
Years of Service
User Offline
Joined: 14th Nov 2007
Location:
Posted: 16th Mar 2015 03:16
It would probably have to use the JPEG file format.

XXX
TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 16th Mar 2015 14:33
Elaborate a little more. You're assuming we know everything there is to know about jpeg and how all of the various compression algorithms are implemented.

Need help with C/C++ game dev? PM me or add me on skype: the__comet.
Current active project: Light Ship
Van B
Moderator
21
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 16th Mar 2015 15:00
I would wager that it's because a lossy compression algorithm is the very very last thing you want with 3D model data.

I am the one who knocks...
Yodaman Jer
User Banned
Posted: 16th Mar 2015 15:01 Edited at: 16th Mar 2015 15:07
Quote: "Topic"


Oh, I see. Rather than provide us with more detailed and relevant information, you put your entire question into the subject line? That's a great way to ensure informative and insightful responses!

Quote: "It would probably have to use the JPEG file format."

If I knew more, I'd know if this image is a relevant response or not:
EDIT: Image won't link, and VanB's response sounds like common sense. Why would you want lossy compression for a model?

"If you want to make an apple pie from scratch, you must first create the universe." - Carl Sagan
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 16th Mar 2015 19:48
Quote: "It would probably have to use the JPEG file format."


What is "it"?



Powered by Free Banners
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 17th Mar 2015 16:13
It's probably because the JPEG algorithm needs to operate on a stream of data that is at least somewhat evenly distributed in space (like pixels in an image). The whole idea of JPEG is to decompose a stream of values into a set of frequencies and then discard the insignificant ones. Doing that kind of analysis requires a certain number of data points on each axis. 3D model data is extremely sparse compared to image data - there's not enough data on any one axis to analyze the frequency. You'd have to use some kind of voxel file format, which would no doubt be much bigger than any traditional format even after compression, negating the point.


On Steam!

Login to post a reply

Server time is: 2024-03-29 15:28:53
Your offset time is: 2024-03-29 15:28:53