OMR Model Render


RE: OMR Model Render
#57
(2020-05-27, 22:38)Roland Melkert Wrote: Are there already models actually using !DATA in the omr?

I seem to remember you experimenting with this, but I believe it used one of the older versions of the proposal (the one with 'sub-subfiles').

Or maybe the better question is: are there currently any models in the OMR which depend on unofficial textured parts?
Yes, I started implementing it back when the proposed standard said "0 FILE... 0 !DATA START" and since I uploaded some files between then and now, the latest version of the code is now able to parse both of these as well as the Studio version of inlined textures.

Output can be either to this latest LDraw format version or to Studio. See This model as an example:

[Image: 583.png]

When pressing "Download" the OMR version refers to the stickers as separate parts. These can be downloaded in the table below in either "LDraw" or "Studio" versions. The LDraw versions are structured as follows:

Code:
0 FILE sticker_30342_1.dat
0 Sticker 1 for 30342
0 Name: sticker_30342_1.dat
0 Author: Sticker Builder
0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt
0 BFC CERTIFY CCW

0 !TEXMAP START PLANAR -8 0.5 -39 -8 0.5 39 8 0.5 -39 sticker_30342_1.dat.png
0 !: 3 16 8 0 -39 8 0 39 -8 0 39
0 !: 3 16 8 0 -39 -8 0 39 -8 0 -39
0 !TEXMAP END
1 16 0 0 0 8 0 0 0 0.5 0 0 0 39 box5.dat

0 !DATA sticker_30342_1.dat.png
0 !: iVBORw0KGgoAAAANSUhEUgAAAQAAAABACAIAAAB6Pz7pAAAAAXNSR0IArs4c6QAAAARnQU1BAACx
0 !: jwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAACRfSURBVHhe7X1ZrCXXdd3ZZ6jpjm/s1wO7m5M4
...

I will update some of the stickers to not use Texmap before I submit this model.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
OMR Model Render - by Orion Pobursky - 2019-07-15, 1:55
RE: OMR Model Render - by Lasse Deleuran - 2019-07-15, 12:40
RE: OMR Model Render - by Travis Cobbs - 2019-07-15, 20:20
RE: OMR Model Render - by Lasse Deleuran - 2019-08-08, 18:40
RE: OMR Model Render - by Orion Pobursky - 2019-08-08, 18:52
RE: OMR Model Render - by Lasse Deleuran - 2019-08-09, 16:46
RE: OMR Model Render - by Lasse Deleuran - 2019-08-23, 12:54
RE: OMR Model Render - by Roland Melkert - 2019-08-23, 19:25
RE: OMR Model Render - by Lasse Deleuran - 2019-08-23, 22:44
RE: OMR Model Render - by Lasse Deleuran - 2019-08-28, 11:11
RE: OMR Model Render - by Lasse Deleuran - 2019-09-02, 15:17
RE: OMR Model Render - by Orion Pobursky - 2019-09-02, 15:44
RE: OMR Model Render - by Travis Cobbs - 2019-09-02, 21:47
RE: OMR Model Render - by Lasse Deleuran - 2019-09-03, 18:56
RE: OMR Model Render - by Orion Pobursky - 2019-09-02, 17:37
RE: OMR Model Render - by Lasse Deleuran - 2019-09-02, 17:55
RE: OMR Model Render - by Lasse Deleuran - 2019-09-02, 15:53
RE: OMR Model Render - by Orion Pobursky - 2019-09-02, 15:57
RE: OMR Model Render - by Lasse Deleuran - 2019-09-02, 16:02
RE: OMR Model Render - by Orion Pobursky - 2019-09-02, 16:03
RE: OMR Model Render - by Lasse Deleuran - 2019-09-02, 18:28
RE: OMR Model Render - by Lasse Deleuran - 2019-09-02, 17:29
RE: OMR Model Render - by Lasse Deleuran - 2019-09-02, 19:18
RE: OMR Model Render - by Orion Pobursky - 2019-09-02, 20:07
RE: OMR Model Render - by Lasse Deleuran - 2019-09-02, 21:21
RE: OMR Model Render - by Orion Pobursky - 2019-09-02, 21:28
RE: OMR Model Render - by Lasse Deleuran - 2019-09-02, 21:40
RE: OMR Model Render - by Lasse Deleuran - 2019-09-03, 7:32
RE: OMR Model Render - by Orion Pobursky - 2019-09-03, 13:10
RE: OMR Model Render - by Orion Pobursky - 2019-09-03, 16:15
RE: OMR Model Render - by Orion Pobursky - 2019-09-03, 18:33
RE: OMR Model Render - by Lasse Deleuran - 2019-09-03, 18:44
RE: OMR Model Render - by Orion Pobursky - 2019-09-03, 18:49
RE: OMR Model Render - by Orion Pobursky - 2019-09-03, 20:29
RE: OMR Model Render - by Magnus Forsberg - 2019-09-03, 21:36
RE: OMR Model Render - by Orion Pobursky - 2019-09-03, 21:41
RE: OMR Model Render - by Orion Pobursky - 2019-09-03, 21:50
RE: OMR Model Render - by Magnus Forsberg - 2019-09-04, 15:00
RE: OMR Model Render - by Lasse Deleuran - 2019-09-04, 15:13
RE: OMR Model Render - by Orion Pobursky - 2019-09-04, 15:24
RE: OMR Model Render - by Orion Pobursky - 2019-09-04, 15:30
RE: OMR Model Render - by Orion Pobursky - 2019-09-04, 15:23
RE: OMR Model Render - by Orion Pobursky - 2019-09-03, 22:14
RE: OMR Model Render - by Orion Pobursky - 2019-09-04, 1:36
RE: OMR Model Render - by Philippe Hurbain - 2019-09-04, 6:52
RE: OMR Model Render - by Lasse Deleuran - 2019-09-04, 7:31
RE: OMR Model Render - by Magnus Forsberg - 2019-09-04, 15:33
RE: OMR Model Render - by Lasse Deleuran - 2019-09-04, 16:03
RE: OMR Model Render - by Orion Pobursky - 2019-09-04, 16:42
RE: OMR Model Render - by Lasse Deleuran - 2019-09-04, 16:51
RE: OMR Model Render - by Orion Pobursky - 2019-09-04, 18:34
RE: OMR Model Render - by Lasse Deleuran - 2019-12-06, 20:22
RE: OMR Model Render - by Lasse Deleuran - 2019-12-26, 22:39
RE: OMR Model Render - by Lasse Deleuran - 2020-05-27, 12:23
RE: OMR Model Render - by Roland Melkert - 2020-05-27, 22:38
RE: OMR Model Render - by N. W. Perry - 2020-05-27, 22:44
RE: OMR Model Render - by Lasse Deleuran - 2020-05-28, 15:54
RE: OMR Model Render - by Orion Pobursky - 2020-05-28, 18:21
RE: OMR Model Render - by Lasse Deleuran - 2020-05-28, 19:51
RE: OMR Model Render - by Orion Pobursky - 2020-07-17, 5:11
RE: OMR Model Render - by Lasse Deleuran - 2020-07-17, 8:48
RE: OMR Model Render - by Orion Pobursky - 2020-07-18, 21:26

Forum Jump:


Users browsing this thread: 6 Guest(s)