[Plugin] Bitmap To Mesh

Re: [Plugin] Bitmap To Mesh (0.4.0b) — 08 February 2011

Postby Dave R » Sat Nov 23, 2013 4:28 pm

cuttingedge wrote:Thanks Dave, Im so lost in my jungle of plugins..:)


Might be time to clean house.
0
%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Plugin] Bitmap To Mesh (0.4.0b) — 08 February 2011

Postby luisto » Wed Dec 04, 2013 9:39 pm

on a curved surface is possible?
0

luisto 
 

Re: [Plugin] Bitmap To Mesh (0.4.0b) — 08 February 2011

Postby iichiversii » Tue Dec 31, 2013 4:39 pm

Ok im having an issue here, being playing around with it a few hrs now and getting no where, so heres where im at, i click on mesh from Heightmap button and i select the bitmap image, it asks for weight and i select it, then depth but its failing to allow me to select, i have the red guide line but it just wont click like when i select weight, i have lib installed, so i uninstalled it, re-installed it and now a message pops up saying its in the virtual plugins store and to move it into the plugins folder, so i did that and re-start su but getting the same txt again, im completely lost, any ideas??
0
Bring on the Rain...
User avatar
iichiversii 
Premium Member
Premium Member
 

Re: [Plugin] Bitmap To Mesh (0.4.0b) — 08 February 2011

Postby TIG » Wed Jan 01, 2014 9:28 pm

Empty the Plugis folder's VirtualStore.
It's a sign of limited rights to the main Plugins folder...

PC:
As an admin [if you are not one give yourself this ability using the Control Panel > Users..]
Select your Plugins folder.
Right-click > context.menu > Properties > Security > Edit...
Ensure each of the users/groups listed is given FULL read/write permissions...
Apply/OK.
These permissions changes should automatically trickle down to the contents too.
Select the SketchUp.exe file in the same folder as the default Plugins folder.
Right-click > context.menu > Properties > Compatibility
Then tick the box 'Always run as an administrator', Apply/OK

MAC:
Plugins folder [HD one for v8 and User one for v2013] - properties > set FULL read/write permissions AND check the box to trickle the changes to all existing files and subfolders so current files are 'manageable' too...

On a PC also ensure that your main Plugins folder does not have a 'custom-icon' 0 this can restrict even FULL permissions very subtly... AND that your user-name does not include any non-ASCII characters [e.g. accénted letters] - it's a well known limitation of the Ruby version shipped with PC SketchUp [up to and including v2013 at least], that file-paths containing non-ASCII characters can cause Ruby's 'File' operations to fail - thus preventing some simple download/processing in your ..Users../AppData../Local ../Temp folder-paths...
Also check that you do NOT have an overzealous anti-virus app that stopping the download/processing of file from sketchucation.com...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Bitmap To Mesh (0.4.0b) — 08 February 2011

Postby iichiversii » Thu Jan 02, 2014 12:03 am

Thanks TIG, ill try this out tomorrow and get back to you if i get it working :thumb:
0
Bring on the Rain...
User avatar
iichiversii 
Premium Member
Premium Member
 

Re: [Plugin] Bitmap To Mesh (0.4.0b) — 08 February 2011

Postby iichiversii » Thu Jan 02, 2014 12:52 pm

Ok i got the Lib thing sorted but im still running into that issue where "mesh from heightmap" wont allow me to select depth, still confused, anyone else had this issue and solved it?
0
Bring on the Rain...
User avatar
iichiversii 
Premium Member
Premium Member
 

Re: [Plugin] Bitmap To Mesh (0.4.0b) — 08 February 2011

Postby fredziarz » Sat Jan 04, 2014 12:42 pm

Playing with it is cool, but there's a huge "BUT" ;) from two bitmaps I used in single SU file (400x400 & 200x200) it made my file 60MB big! It's much to much. My PC handles aprox.100MB files, but they're almost uneditable and hard to use. So what do we need this plugin for? Maybe some small not complicated architectural details? Simple scenes?
1
User avatar
fredziarz 
 

Re: [Plugin] Bitmap To Mesh (0.4.0b) — 08 February 2011

Postby tt_su » Mon Jan 06, 2014 2:36 pm

iichiversii wrote:Ok i got the Lib thing sorted but im still running into that issue where "mesh from heightmap" wont allow me to select depth, still confused, anyone else had this issue and solved it?

? Can you describe your process?
0
User avatar
tt_su 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Bitmap To Mesh (0.4.0b) — 08 February 2011

Postby tt_su » Mon Jan 06, 2014 2:38 pm

fredziarz wrote:Playing with it is cool, but there's a huge "BUT" ;) from two bitmaps I used in single SU file (400x400 & 200x200) it made my file 60MB big! It's much to much. My PC handles aprox.100MB files, but they're almost uneditable and hard to use. So what do we need this plugin for? Maybe some small not complicated architectural details? Simple scenes?


400 * 400 = 160000 (that's just tiles - but these have to be triangulated, so the actual number of faces generated will be 320000)

If you use a render engine that support proxies you can generate a high res mesh and generate a proxy object of it and use a low res mesh in your model.
0
User avatar
tt_su 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Bitmap To Mesh

Postby tosudatma » Fri Apr 25, 2014 4:54 am

i needs plugin Bitmap To Mesh for sketchup 2014 ,help me
0

tosudatma 
 

Re: [Plugin] Bitmap To Mesh

Postby tt_su » Fri Apr 25, 2014 11:49 am

tosudatma wrote:i needs plugin Bitmap To Mesh for sketchup 2014 ,help me

It should work for SU2014. Download latest from SCF PluginStore or the Extension Warehouse.

Or have you already done that and found errors?
0
User avatar
tt_su 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Bitmap To Mesh

Postby mwoonkey » Fri May 02, 2014 9:44 pm

I cant figure this out, been trying for ages and cant make the plugin seeable from the plugin menu even after installing the extension.

running win7 with trimble 8.0.151158

I can get other plugins to work perfect but the TT_Lib2 not showing or the bitmap to mesh either.

any help please
0

mwoonkey 
 

Re: [Plugin] Bitmap To Mesh

Postby thomthom » Sat May 03, 2014 4:30 pm

This plugins doesn't add menus to the Plugins - it adds it to the Draw and Context Menu. See the description for details.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Bitmap To Mesh

Postby dimix » Tue May 06, 2014 4:37 pm

Is it possible to take a closed loop of edges, and fill them with a bitmap?
Kinda like the Soap Skin & Bubble plugin douse.
0
User avatar
dimix 
 

Re: [Plugin] Bitmap To Mesh

Postby thomthom » Tue May 06, 2014 6:18 pm

Like a height map, or making faces out of each pixel?
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Bitmap To Mesh (0.4.0b) — 08 February 2011

Postby Tandem » Wed May 07, 2014 1:29 am

iichiversii wrote:Ok i got the Lib thing sorted but im still running into that issue where "mesh from heightmap" wont allow me to select depth, still confused, anyone else had this issue and solved it?

I was stuck on the exact same problem and was able to make it work by changing my steps to:
  1. File > Import...
  2. Navigate to your image file, select it and click Import.
  3. Place and size the image in SU.
  4. Right-Click on the placed image and select Mesh from Heightmap.
  5. Pick depth by clicking somewhere on the blue axis above the image.
  6. The plugin will take some time to index the points and generate the mesh.
May have something to do with file format. I don't know.

Thanks thomtom for a great plugin. I am trying to use it to generate terrain from downloaded TIF heightmaps. Still trying to figure out what size image is doable.
0
User avatar
Tandem 
 

Re: [Plugin] Bitmap To Mesh

Postby dimix » Wed May 07, 2014 11:11 am

thomthom wrote:Like a height map, or making faces out of each pixel?

Yes like a height map (if i understand what a height map is correctly :) ).
If i have a spesific face that i have to work with, and it represents a water surface:

I woud like to add small waves to that face like Mistro11 did in this post
Is there some way to bound the bmp to that face?
0
User avatar
dimix 
 

Re: [Plugin] Bitmap To Mesh

Postby Dave R » Wed May 07, 2014 11:25 am

Why not just make the mesh from a rectangular bitmap and trim it to that shape after?
1
%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Plugin] Bitmap To Mesh

Postby tt_su » Wed May 07, 2014 12:05 pm

The mesh would be incredible dense. Are you rendering the image eventually? I'd then put use the render engine and apply the bitmap as a bump map or displacement map instead.
1
User avatar
tt_su 
SketchUp Team
SketchUp Team
 

Re: [Plugin] Bitmap To Mesh

Postby dimix » Thu May 08, 2014 10:51 am

Dave R wrote:Why not just make the mesh from a rectangular bitmap and trim it to that shape after?


tt_su wrote:The mesh would be incredible dense. Are you rendering the image eventually? I'd then put use the render engine and apply the bitmap as a bump map or displacement map instead.


I agree with both of you. Trimming it or rendering it would be a solution. But still i am curious if it is possible to bind the bmp to a face.
0
User avatar
dimix 
 

Re: [Plugin] Bitmap To Mesh

Postby Lersince1991 » Thu Apr 09, 2015 6:24 pm

This plug in is amazing, thank you so much.

But it took me a long time to find, I suggest in your extension warehouse keywords you add "Displacement Map" or Displacement baking and similar stuff to help others find it.
2

Lersince1991 
 

Re: [Plugin] Bitmap To Mesh

Postby jojo9 » Fri Jul 10, 2015 11:58 am

nice one, could be useful for landscape modeling in my case.
ive probems to draw the depth plane.

-i loaded a bitmap noise image into su
-i defined the origin and width, while with depth im unable to confirm, the click is blocked.
Also using a numerical imput and confirming that op doesnt work.

(mac, su13 free)
0
User avatar
jojo9 
 

Re: [Plugin] Bitmap To Mesh

Postby thomthom » Fri Jul 17, 2015 7:11 pm

Any errors in the Ruby Console?
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Bitmap To Mesh

Postby Ineshtine » Fri Sep 04, 2015 4:52 am

Make sure the bitmap is 24bit and that it doesn't include color space information.
0
What? you haven't tried Raylectron yet?
User avatar
Ineshtine 
 

Re: [Plugin] Bitmap To Mesh

Postby cowboyathome » Thu Nov 05, 2015 10:51 pm

To those people having an issue with not being able to click when prompted to Pick depth, make sure that the image you are using does not have any color space information. I believe that someone already mentioned this awhile back in the thread.

The link below shows an image of the GIMP export settings when exporting a BMP image.
Notice that I have Do not write color space information checked.
I have no idea how to check if a BMP image has color space or not. Best bet is to open the image and save/export it without color space information.


https://goo.gl/photos/knF2NPQ5fEhLrhe79
0

cowboyathome 
 

Re: [Plugin] Bitmap To Mesh

Postby Efrado » Fri Apr 08, 2016 11:37 pm

Hi Thom,I have been trying to install this jewel for three days,and not able to do.
Had read several times almost every thing at the forums without success.
Could you give me a hand please.
My OS X 10.6.8 and Skp.8.0.15157 free.
This is what appear in the ruby console:

Failed to read /Users/AMADO/Desktop/PRUEBA 1.bmp
BMP Magic Marker not found.
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_bitmap2mesh/core.rb:535:in `read_image'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_bitmap2mesh/core.rb:472:in `initialize'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_bitmap2mesh/core.rb:139:in `new'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_bitmap2mesh/core.rb:139:in `bitmap_to_mesh_tool'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_bitmap2mesh/core.rb:44

THANK YOU
0

Efrado 
 

Re: [Plugin] Bitmap To Mesh

Postby thomthom » Sat Apr 09, 2016 8:56 am

Can you share the image you try to load?
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Bitmap To Mesh

Postby Efrado » Sat Apr 09, 2016 4:12 pm

Thank you for your fast answering. By the way,what do I have to do to select image clicking the right button on my mouse.
Continuing with the attempt to install the plugin (the only one after easy install) I got this message in the skp. screen
https://cf.dropboxstatic.com/static/ima ... N3BYt2.gif

this is the bmp image:

https://www.dropbox.com/s/qcmig0ajnkn2p ... 5.png?dl=0
Thankyou
0

Efrado 
 

Re: [Plugin] Bitmap To Mesh

Postby thomthom » Sun Apr 10, 2016 10:35 pm

That first image doesn't appear to load. (You can upload directly to the forum btw.)
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Bitmap To Mesh

Postby Efrado » Sun Apr 10, 2016 11:25 pm

Hi Thom ,sorry I am not so good with the driven of posting images. I hope this is the one



I changed the setup of my mouse and could get the width rectangle but could not get the height

0

Efrado 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Plugins

Who is online

Users browsing this forum: No registered users and 10 guests

Visit our sponsors: