Code Monkey home page Code Monkey logo

sculptgl's People

Contributors

dependabot[bot] avatar disjukr avatar flufy3d avatar guzzard avatar melihucar avatar passariello avatar sergeykhrykov avatar stephomi avatar twolfson avatar vallentin avatar vertspirit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sculptgl's Issues

voxel remeshing

Hello.
Congratulations for the excellent work you have done.
When I do "voxel remeshing" creates an OBJ file to be 1k and not working.
I do not understand the issue.

User Blender3D like keyboard shortcuts for perspective directions

1 Front view
Ctrl+1 Back view
2 Rotate view up
Ctrl+2 Pan view up
3 Left side view
Ctrl+3 Right side view
4 Rotate view left
Ctrl+4 Pan view left
5 Toggle perspective/orthographic view
6 Rotate view right
Ctrl+6 Pan view right
7 Top view
Ctrl+7 Bottom view
8 Rotate view down
Ctrl+8 Pan view down
9 Redraw screen
0 Camera view
Ctrl+Alt+0 Set camera to viewport
/ Toggle local view
. (dot/period) Zoom on selection

  • Zoom into view

Changing the Multiresolution:Resolution slider repeatedly alters mesh

I'm not sure if this is a bug or a feature, but changing to a lower resolution then changing back will modify the mesh (even if you did nothing at the lower resolution). The following images show what happens when you make some sort of changes to the mesh (in this example making some creases), then drag the resolution slider back and forth a few times.

before
after

Again, not sure if this is expected behavior or not, but thought I would point it out just in case.

Feature Request: Ability to have multiple views

Hi, I'd really love it if I had the ability to have multiple views.

Essentially my process is to set the background image to something I'm trying to model and it would be awesome if I could have an multiple views on the sculpted model so that I can compare it to the images I'm modeling from.

Windows Build

I would like to request an option to build for Windows.

top bar menus don't open in iOS

The top bar menus (File, Scene, etc.) won't open in iOS browsers. (I've tried both chrome and safari apps)

the iOS version 10.3.1

Note: these menus do work with android

Location and Size of the object are changed after Remeshing

SculptGL is pretty good and It's easy to use.
However I found the REMSHE not work as expect. When the object has been remeshed , the location and the size of the object are changed.
If the object is exported to stl, the size of the object is changed imported by SculptGL, both the size and the location are changed by other softwares, such as blender.

Standalone Takes A Long Time to display

My OS is win10, but when I setup the stanalone, it takes more than 45 sec before the main page display.
What's worse, it takes even several minutes in win7. Is it something wrong and how to fix it? Thnaks in advance?
image

Export seems broken

Thank you for a tremendous application!

In the last couple days, exporting .stl and other export types seems broken. giving this error in Chrome and Firefox is giving this error:

sculptgl.js:11 Uncaught TypeError: Yr is not a functionsaveFileAsSTL @ sculptgl.js:11_
onClick @ sculptgl.js:10

Typo in Readme

yarn add electron yarn add electron-packager yarn standlone 

should be

yarn add electron yarn add electron-packager yarn standalone

PBR question.

Is there a way to render PBR on the background as well? And I cant find out how to add HDR images. Maybe someone can guide me?

PS: Thank you Stéphane for this amazing script!

Adaptive sculpting

use it with a mesh that already contains self-intersection will lead a crash.

License

I cannot find which license is SculptGL under.

Empty scene on Linux

Browser: Chrome 28.0.1500.71
OS: Linux
Graphic: Nvidia GeForce 9600M Driver 173.14.37

sculptgl.min.js:138
Uncaught TypeError: Cannot set property 'viewportWidth' of null

Delete object doesn't work as expected

So I've been trying to figure out how to delete an object, so I figured I'd hit the "delete" key, but that seems to delete the entire scene, I'd expect it to delete an object, and I'd also expect a similar menu item as well.

Feature request: run as mobile web-app

Hi there, with these 2 tags added to the sculptGL app page:

<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">

sculptGl could be added as a full screen app to the Android/Apple home screen and would open without the address bar/tabs.

I think that would be very nice. Thanks for considering!

Feature Request: Collision detection of inside surfaces

It would be awesome (and I'm sure difficult) to make it so that when painting you have the option of not painting through the other side of the object.

So for example, imagine you do a bunch of negative painting, and you wanted to paint a hole into a shape, it would be nice if you weren't able to punch through the other side of the sphere.

Windows Standalone Version.

I'm a linux user, but some are telling me that the standalone version of windows do not start. I looked for a windows machine and I can't use de win64 neither win32 version. ¿There's something wrong with these versions or I need install an extra functionality?

fail

the app is amazing work

hope there could be a cooler ui. data gui only a demo way
and feature like image project painting
could i help you anything?

Change of the sculpting tools.

When you are using the paint tool (or any other) and use the shortcut "c" to modify the intensity, the paint tool shift to the crease tool, every time. This happend only when you used the shortcut key.

sculptgl i try install but not work

stephomi .. i try follow your above but not work please explain step by step i use last code your update not have index.html , nmp install it's worked but nmp run dev not work !! show this below , i use appserv is webserver

copy tools/index.dev.html app/index.html && copy tools/authSuccess.html app/au
hSuccess.html && webpack -w

he syntax of the command is incorrect.
pm ERR! code ELIFECYCLE
pm ERR! errno 1
pm ERR! [email protected] dev: copy tools/index.dev.html app/index.html && copy t ols/authSuccess.html app/authSuccess.html && webpack -w
pm ERR! Exit status 1
pm ERR!
pm ERR! Failed at the [email protected] dev script.
pm ERR! This is probably not a problem with npm. There is likely additional log
ing output above.

pm ERR! A complete log of this run can be found in:
pm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2018-04-24T1
_19_46_003Z-debug.log

Show like this .. thanks

Can LeapMotion be an input device?

Can this web page thing use LeapMotion as an input device?
If can, could you tell how to add it to the web page? (no need to say too much details, I even didn't know which part of the code should change)
thanks

PS: I use your code to do some programming won't be used in commercial category, just to develop the page

Brush resize and pressure enhancement

Currently brushsize needs to be changed via the ui or the + - buttons.
This currently provides a relatively slow workflow. Would be great to have the shortcuts somewhere on the left side which lets them be used by the left hand.
Or even better would be a modal resize operator. Keep a button pressed and then drag left or right to increase or the decrease the size fluidly. Same goes for pressure. I think for a fast workflow this is an essantial feature to have very quick access to size and pressure of a brush.

Blender has a shortcut on F and Shift+F for size and pressure.

Uncaught TypeError: Cannot set property 'viewportWidth' of null sculptgl.min.js:136

Uncaught TypeError: Cannot set property 'viewportWidth' of null sculptgl.min.js:136
SculptGL.onWindowResize sculptgl.min.js:136
SculptGL.start sculptgl.min.js:126
(anonymous function) (index):27
c jquery-1.10.1.js:3074
p.fireWith jquery-1.10.1.js:3186
x.extend.ready jquery-1.10.1.js:433
q

I get this on standard Chrome and Canary.

Support node-webkit

node-webkit can make desktop application by html5.
just adding package.json then node-webkit makes your site like this:
nodewebkit

package.json:

{
  "main": "index.html",
  "name": "SculptGL",
  "single-instance": false,
  "window": {
    "title": "SculptGL",
    "toolbar": false,
    "frame": true,
    "width": 1024,
    "height": 768,
    "position": "center"
  },
  "nodejs": true,
  "webkit": {
    "plugin": true
  }
}

about the mouse thing

I saw there was a circle at where the mouse moved or click, I use other controller to do the mouse thing, but could you tell me how to add the circle to my controller? there are the X-position and Y-position on the page of my controller, which part of the code add the circle at the position? thanks

Exporting .obj with high vertex count fails

When trying to export an object as .obj with vertex count 3 424 770 it fails with this error in the console.

[15157:0803/161750:ERROR:nw_shell.cc(335)] RangeError: Invalid string length
at Object.g.addMesh (file:///tmp/.org.chromium.Chromium.3ad4ro/sculptgl.min.js:11:17294)
at Object.g.exportOBJ (file:///tmp/.org.chromium.Chromium.3ad4ro/sculptgl.min.js:11:15551)
at Object.g.saveFileAsOBJ (file:///tmp/.org.chromium.Chromium.3ad4ro/sculptgl.min.js:11:24691)
at Object.f._onClick (file:///tmp/.org.chromium.Chromium.3ad4ro/sculptgl.min.js:3:31103)
[15157:0803/161750:INFO:CONSOLE(11)] "Uncaught RangeError: Invalid string length", source: file:///tmp/.org.chromium.Chromium.3ad4ro/sculptgl.min.js (11)

When going down one level to 856 194 vertices exporting works fine without any error in the console.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.