Creating stickers


Creating stickers
#1
Hi
I usually create stickers to my instructions with sticker generator.
Does anyone know if there is another piece of software that can generate stickers - preferable at a higher quality than sticker generator?

Thanks
Reply
RE: Creating stickers
#2
(2018-07-16, 12:04)Knud Ahrnell Albrechtsen Wrote: Hi
I usually create stickers to my instructions with sticker generator.
Does anyone know if there is another piece of software that can generate stickers - preferable at a higher quality than sticker generator?

Thanks

Hi
Maybe this will help

https://forums.ldraw.org/thread-22776-po...r#pid28349

Regards Johann
If nothing goes right, go left.
Reply
RE: Creating stickers
#3
(2018-07-16, 12:15)Johann Eisner Wrote:
(2018-07-16, 12:04)Knud Ahrnell Albrechtsen Wrote: Hi
I usually create stickers to my instructions with sticker generator.
Does anyone know if there is another piece of software that can generate stickers - preferable at a higher quality than sticker generator?

Thanks

Hi
Maybe this will help

https://forums.ldraw.org/thread-22776-po...r#pid28349

Regards Johann
Hi Johann
Thaks for the reply.
I have looked into this program but I couldn't see how I Import a picture and convert it to a .dat file??
Reply
RE: Creating stickers
#4
Hi again

There is no way to import pictures. You have to draw the pictures yourself. You can set a picture as a background and then you have to draw, draw and draw. ;-)

Regards
If nothing goes right, go left.
Reply
RE: Creating stickers
#5
(2018-07-16, 17:57)Johann Eisner Wrote: Hi again

There is no way to import pictures. You have to draw the pictures yourself. You can set a picture as a background and then you have to draw, draw and draw. ;-)

Regards

With my drawing skills that will not end up with anything good Smile

Is there no program that has a similar functionality as sticker generator ?
But with a better end result Smile
Reply
RE: Creating stickers
#6
(2018-07-16, 20:23)Knud Ahrnell Albrechtsen Wrote: Is there no program that has a similar functionality as sticker generator ?
But with a better end result Smile

I'm not sure if you are currently using my sticker generator or the one from Scott, ether way here are both links Smile

http://www.melkert.net/test/stickerGen.html
http://scottwardlaw.com/sticker_generator/
Reply
RE: Creating stickers
#7
(2018-07-16, 20:41)Roland Melkert Wrote:
(2018-07-16, 20:23)Knud Ahrnell Albrechtsen Wrote: Is there no program that has a similar functionality as sticker generator ?
But with a better end result Smile

I'm not sure if you are currently using my sticker generator or the one from Scott, ether way here are both links Smile

http://www.melkert.net/test/stickerGen.html
http://scottwardlaw.com/sticker_generator/
Hi Roland

I am currently using Scotts.
I have tried yours now but it doesn't look like MLCad og LPUB3D supports your program.
Reply
RE: Creating stickers
#8
(2018-07-17, 4:55)Knud Ahrnell Albrechtsen Wrote: Hi Roland

I am currently using Scotts.
I have tried yours now but it doesn't look like MLCad og LPUB3D supports your program.

Textures are a fairly new LDraw feature so not all software supports it (yet).

LPub should support it trough LDView though.

MLCad doesn't support textures as it is not maintained anymore.
Reply
RE: Creating stickers
#12
(2018-07-17, 17:32)Roland Melkert Wrote:
(2018-07-17, 4:55)Knud Ahrnell Albrechtsen Wrote: Hi Roland

I am currently using Scotts.
I have tried yours now but it doesn't look like MLCad og LPUB3D supports your program.

Textures are a fairly new LDraw feature so not all software supports it (yet).

LPub should support it trough LDView though.

MLCad doesn't support textures as it is not maintained anymore.

Hi  Roland
I have now started using LDCad instead and it looks lige it supports textures.
But I have run into a couple of problems I hope you can help me with.
the first one i whitespaces in the image path. How fo I get it to handle this?
I have tried both:
T:\folder\My Folder\sticker.png
and
"T:\folder\My Folder\sticker.png"
and
'T:\folder\My Folder\sticker.png'
but it will not accept the path if there is whitespaces.
If I copy the sticker to C:\temp\Sticker.png then there is no problem

The other issue is that when I open the sticker.dat file in LPub3D with sticker in C:\temp it does not show the sticker, only an empty square.
The renderer in LPub3D is set to LDView.

Sticker in LDCad
[Image: ldcadsticker.png]
Sticker in LDView:
[Image: ldviewsticker.png]
Sticker in LPub3D
[Image: lpub3dsticker.png]
LDView 64bit version is 4.4 Alpha 2
LPub3D version is 2.2.2
Reply
RE: Creating stickers
#13
(2018-08-25, 7:10)Knud Ahrnell Albrechtsen Wrote: the first one i whitespaces in the image path. How fo I get it to handle this?

I checked the sourcecode and you're right it will only use the first "word" as the filename, this because it can be followed by other stuff.

This is a bug, and will be fixed in 1.6c.


(2018-08-25, 7:10)Knud Ahrnell Albrechtsen Wrote: The other issue is that when I open the sticker.dat file in LPub3D with sticker in C:\temp it does not show the sticker, only an empty square.

Are you sure lpub is using the same LDView exe as when you run it standalone?

Secondly I'm not sure the current LPub3D version copies the texture files to its temporary output location (from where LDView generated its images). You might need to do that manually.
Reply
RE: Creating stickers
#14
(2018-08-25, 17:04)Roland Melkert Wrote:
(2018-08-25, 7:10)Knud Ahrnell Albrechtsen Wrote: the first one i whitespaces in the image path. How fo I get it to handle this?

I checked the sourcecode and you're right it will only use the first "word" as the filename, this because it can be followed by other stuff.

This is a bug, and will be fixed in 1.6c.


(2018-08-25, 7:10)Knud Ahrnell Albrechtsen Wrote: The other issue is that when I open the sticker.dat file in LPub3D with sticker in C:\temp it does not show the sticker, only an empty square.

Are you sure lpub is using the same LDView exe as when you run it standalone?

Secondly I'm not sure the current LPub3D version copies the texture files to its temporary output location (from where LDView generated its images). You might need to do that manually.

Hi Roland
Thanks for the answers.

I will look forward to the fix in 1.6c Smile
Reply
RE: Creating stickers
#15
(2018-08-25, 17:04)Roland Melkert Wrote:
(2018-08-25, 7:10)Knud Ahrnell Albrechtsen Wrote: the first one i whitespaces in the image path. How fo I get it to handle this?

I checked the sourcecode and you're right it will only use the first "word" as the filename, this because it can be followed by other stuff.

This is a bug, and will be fixed in 1.6c.


(2018-08-25, 7:10)Knud Ahrnell Albrechtsen Wrote: The other issue is that when I open the sticker.dat file in LPub3D with sticker in C:\temp it does not show the sticker, only an empty square.

Are you sure lpub is using the same LDView exe as when you run it standalone?

Secondly I'm not sure the current LPub3D version copies the texture files to its temporary output location (from where LDView generated its images). You might need to do that manually.

the next problem is to get the stickers shown when rendering in POV-Ray.
Is this possible???
Currently this is the issue.
Stickers in LDView (4.4 a):
[Image: dsb_ic3_ldview.png]

Stickers in POV-Ray (3.7)
[Image: dsb_ic3_povray.png]
Reply
RE: Creating stickers
#16
LDView's POV export does not support textures. I think LDCad's POV export does support textures (although I'm not 100% sure of that). I have spent a fair amount of time trying to support textures in LDView's POV export, but haven't had any success. I haven't totally given up, but I'm not willing to promise anything at this time.
Reply
RE: Creating stickers
#17
(2018-08-27, 16:54)Travis Cobbs Wrote: LDView's POV export does not support textures. I think LDCad's POV export does support textures (although I'm not 100% sure of that). I have spent a fair amount of time trying to support textures in LDView's POV export, but haven't had any success. I haven't totally given up, but I'm not willing to promise anything at this time.

Hi Travis

thanks for the reply.
I am using LDcad .6b
I cant seem to find an export option in any of the menues??
Reply
RE: Creating stickers
#18
(2018-08-27, 18:07)Knud Ahrnell Albrechtsen Wrote: I am using LDcad .6b
I cant seem to find an export option in any of the menues??
view/edit views/export
or
alt+e
Reply
RE: Creating stickers
#19
(2018-08-27, 18:57)Roland Melkert Wrote:
(2018-08-27, 18:07)Knud Ahrnell Albrechtsen Wrote: I am using LDcad .6b
I cant seem to find an export option in any of the menues??
view/edit views/export
or
alt+e

thanks
does it have a problem with whitespaces?
when i try to export LDCad creates the folder but then shuts down without creating the pov file.
Reply
RE: Creating stickers
#20
(2018-08-27, 19:30)Knud Ahrnell Albrechtsen Wrote: thanks
does it have a problem with whitespaces?
when i try to export LDCad creates the folder but then shuts down without creating the pov file.

For the pov export all needed png's are copied into the pov export destination using generated names so spaces should not matter.
But if LDCad crashes during the export it might be the cause of it on that side, I'll have to look into this some more.
It would help me, if you send me your model so I can test it myself using similar input.

You can prevent the space in folder names by using relative filenames only (place the png in the same folder as the .dat)
Reply
RE: Creating stickers
#21
(2018-08-27, 20:31)Roland Melkert Wrote:
(2018-08-27, 19:30)Knud Ahrnell Albrechtsen Wrote: thanks
does it have a problem with whitespaces?
when i try to export LDCad creates the folder but then shuts down without creating the pov file.

For the pov export all needed png's are copied into the pov export destination using generated names so spaces should not matter.
But if LDCad crashes during the export it might be the cause of it on that side, I'll have to look into this some more.
It would help me, if you send me your model so I can test it myself using similar input.

You can prevent the space in folder names by using relative filenames only (place the png in the same folder as the .dat)
Hi Roland
It helped copying the png files to the same location as the dat file.
Then I tried exporting the model using the below settings.
[Image: ldcad_povray_export.png]

Then I commented out this line in the generated file for better comparison:
//background { color srgb 0.4 }
After rendering the stickers are show so that is great but I am not happy with the result in the colors.
try comparing the DBG with my export from LDView 4.2 (without sticker)
I think the DBG looks very "flat" compared to mine??
Any idea why it looks like this??
[Image: dsb_mk601_ldcadrender.png]

[Image: dsb_mk601_myrender.png]
Reply
RE: Creating stickers
#22
(2018-08-28, 5:16)Knud Ahrnell Albrechtsen Wrote: After rendering the stickers are show so that is great but I am not happy with the result in the colors.
try comparing the DBG with my export from LDView 4.2 (without sticker)
I think the DBG looks very "flat" compared to mine??
Any idea why it looks like this??

Not sure could be a couple of things, like:
- Light position
- Camera position (you can't really compare to different views)
- LDCad using srgb and LDView using rgb (I think) in the .pov.

You can tweak the colors by copying the
default
folder to e.g. "MyColors" in
%appdata%/LDCad/povray
Then edit its colors.pov to suit your needs.
In the export dialog select "myColors" in the "code donor" field.

You can then also disable the background, you edited out, by default in globalSettings.pov
Reply
RE: Creating stickers
#23
(2018-08-28, 16:16)Roland Melkert Wrote:
(2018-08-28, 5:16)Knud Ahrnell Albrechtsen Wrote: After rendering the stickers are show so that is great but I am not happy with the result in the colors.
try comparing the DBG with my export from LDView 4.2 (without sticker)
I think the DBG looks very "flat" compared to mine??
Any idea why it looks like this??

Not sure could be a couple of things, like:
- Light position
- Camera position (you can't really compare to different views)
- LDCad using srgb and LDView using rgb (I think) in the .pov.

You can tweak the colors by copying the
default
folder to e.g. "MyColors" in
%appdata%/LDCad/povray
Then edit its colors.pov to suit your needs.
In the export dialog select "myColors" in the "code donor" field.

You can then also disable the background, you edited out, by default in globalSettings.pov

Light position is the same.
cameraposition is - almost the same.
no matter what position I have used it is the same difference.
I did the export to pov file directly from ldview in both versions .
I did not use LDcad for the export.


Editiing the colors like you suggest is a bit over my underrstanding of POV-Ray im affraid Smile


I think I found the differnce.
in ldview 4.2 and 4.3 the color section starts with
#include "lg_defs.inc"
#include "lg_color.inc"
This it doesnt in the 4.4 export.
I tried replacing this section from the above includes to down just before this line:
#ifndef (LDXColor494) // Electric Contact Alloy

that seems to correct the difference in the colors.

Could I put this in the colors.pov file - would that work??
Reply
RE: Creating stickers
#24
(2018-08-28, 18:49)Knud Ahrnell Albrechtsen Wrote: I tried replacing this section from the above includes to down just before this line:
#ifndef (LDXColor494) // Electric Contact Alloy

that seems to correct the difference in the colors.

Could I put this in the colors.pov file - would that work??
No LDCad uses macros for colors while LDView/LGEO uses individually defined colors.
You can use the non macro way in LDCad but it will need some high level POVRay 'magic'.

I think the main reason of the difference is the fact the LDView export uses LGEO which comes with its own color defs while LDCad uses the RGB colors as supplied in the LDConfig.ldr file.

Also LDCad's pov export was designed mainly for animations so I sacrificed quality over rendering speed at some points.

If anyone with deeper knowledge of LGEO inner workings know the basic differences and point them out to me I could make an alternative colors.pov implementing it.
Reply
RE: Creating stickers
#25
(2018-08-27, 20:31)Roland Melkert Wrote:
(2018-08-27, 19:30)Knud Ahrnell Albrechtsen Wrote: thanks
does it have a problem with whitespaces?
when i try to export LDCad creates the folder but then shuts down without creating the pov file.

For the pov export all needed png's are copied into the pov export destination using generated names so spaces should not matter.
But if LDCad crashes during the export it might be the cause of it on that side, I'll have to look into this some more.
It would help me, if you send me your model so I can test it myself using similar input.

You can prevent the space in folder names by using relative filenames only (place the png in the same folder as the .dat)

I've tried to replicate the pov export crash you experienced.

I've tried using a .dat with an abs png file name with and without spaces used from a mpd inside a different/same folder etc.

All works for me without a crash.

Could you mail me your model and the used sticker/png files?
Reply
RE: Creating stickers
#26
(2018-08-29, 21:26)Roland Melkert Wrote:
(2018-08-27, 20:31)Roland Melkert Wrote: For the pov export all needed png's are copied into the pov export destination using generated names so spaces should not matter.
But if LDCad crashes during the export it might be the cause of it on that side, I'll have to look into this some more.
It would help me, if you send me your model so I can test it myself using similar input.

You can prevent the space in folder names by using relative filenames only (place the png in the same folder as the .dat)

I've tried to replicate the pov export crash you experienced.

I've tried using a .dat with an abs png file name with and without spaces used from a mpd inside a different/same folder etc.

All works for me without a crash.

Could you mail me your model and the used sticker/png files?

Hi Roland

I have just tried to do an export again with whitespaces but cant get it to crash this time.
When I encounter the problem again, I will send the files to you.
Is this ok??
Reply
RE: Creating stickers
#9
Wanted to try Scott's program. But no matter what I do, I always get the error when starting the .ocx file is missing. Although I have already copied them to the system32 folder. :-(
If nothing goes right, go left.
Reply
RE: Creating stickers
#10
(2018-07-17, 17:49)Johann Eisner Wrote: Wanted to try Scott's program. But no matter what I do, I always get the error when starting the .ocx file is missing. Although I have already copied them to the system32 folder. :-(

If you are running 64-bit Windows, you probably need to copy any ocx files to the SysWOW64 folder instead of the System32 folder. Also, you probably need to run regsvr32 from the command line:

http://www.ctimls.com/Support/KB/How%20T...er_dll.htm
Reply
RE: Creating stickers
#11
(2018-07-17, 18:08)Travis Cobbs Wrote:
(2018-07-17, 17:49)Johann Eisner Wrote: Wanted to try Scott's program. But no matter what I do, I always get the error when starting the .ocx file is missing. Although I have already copied them to the system32 folder. :-(

If you are running 64-bit Windows, you probably need to copy any ocx files to the SysWOW64 folder instead of the System32 folder. Also, you probably need to run regsvr32 from the command line:

http://www.ctimls.com/Support/KB/How%20T...er_dll.htm

That was the solution.
Many thanks.

Best Regards
Johann
If nothing goes right, go left.
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 1 Guest(s)
Forum Jump:


Users browsing this thread: 1 Guest(s)