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.

Author
Message
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 5th Sep 2022 22:13 Edited at: 14th Dec 2022 13:35
Recently added Convex extrusion for both x and z axis, a method that could be used for bringing an edited photo to life
note: If both are selected you should get a cylindrical dome edge to one side of the object, still lots to do.

Program converts a drawing to a 3d image
Window 1
Left mouse draws
Right mouse erases

F2 Zooms into window 1
F3 Zooms into window 2
F4 Zooms out

ESC quits program

in draw Modes (window 0 or 1)
Left click draws with selected colour
middle mouse button flood fills an area
Right click draws black
Shift back space undoes previous draw

possible extrsusions
extsingle extrudes based on color ie white is tall black is short
extsingle
xconvex extrudes top as an xconvex
zconvex extrudes top as an zconvex
using both at once produces a spherical top
extdouble
same as extsingle with the exception it does it in both positive and negeative directions
Extflat
ignores xconvex and yconvex
The multiplier
just uses maths to amplify the ammount
please note
the extrude button is in one of the draw windows
this is so as two draws can be worked on and tested
the merge button is used to merge two drawings

the text box in window 3 saves the objects in the folders media directory

mouse left click outside of window 1 pans camera
numeric keypad adjusts position of camera

The effect buttons invert/reverse colors
Extrude converts the image to a 3d object
dec and inc pen adjusts the drawing pen
any image may be loaded and converted to a 3d model


in edit mode and window 3
move mouse around with left click an move
shift left click raises box
shift right click lowers box
shift backspace undoes
del deletes selected block
---------------------------------------------------------



PS a remake of the program called mesh extrude available on the forums. The new version adds, some basic drawing ability
and can extrude quite fast and saves in colour using an object material file. There are other little options like merging between
two window workspaces, grayscaling the work window etc. Lots to do, not sure what people think of this development
so im putting out a video.
fubarpk
https://fubarpk.itch.io/

Attachments

Login to view attachments
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 5th Sep 2022 22:22


It can also directly convert text to 3d, I do have a slight issue with that getting the text from a edit box
to a text box somewhere in the drawing process the font sizes are different. But it does export text as 3d




PK
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 7th Sep 2022 02:47
Nice work matey
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 7th Sep 2022 13:16 Edited at: 7th Sep 2022 13:19

Thanks Blink

I made some changes to the interface, nearly ready for some beta testers
I still need to convert to a percentage based system for resizing and I may need
to convert before I share to using the 2d world coordinate system.

The top left window is the main draw window but it scales it by 4 times which
meant using the following math dx=locX*canvasSize/windowSize:dy=locY*canvasSize/windowSize
to get the drawing to align with a scaled sprite. At the moment im trying to work out
a way that I can use the zoom functions with the windows and allow other sized images.

If anyone is interested in being a tester, you will need to be able to use the resolution 2048
as thats what im working in. just drop me an im and i can dropbox or something
PK
smerf
19
Years of Service
User Offline
Joined: 24th Feb 2005
Location: nm usa
Posted: 11th Sep 2022 22:52
you made a primitive editor in agk?

fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 11th Sep 2022 22:57 Edited at: 18th Sep 2022 14:32
Sure Did Smerf ive attached a beta but it needs reworking and needs a monitor capable of like 1920*1080 or higher resolution atm
PK

Attachments

Login to view attachments
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 13th Sep 2022 07:03
The latest BETA version it makes use of Kevin Cross's color picker

should work on lower resolutions better

F2 will zoom the top left draw window
F3 Zoom the bottom left window (kinda a workspace window)
F4 reverts zoom back to normal

ability to merge two images together altho the colors often dont match
convert text to 3d and with the ability to load your own custom ttf fonts
draw a shape made 3D

features ability to load an image and convert to a 3D object with one click extrusion
many effects that are still work in progress

PK
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 13th Sep 2022 07:06
The new look
PK
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 13th Sep 2022 07:10 Edited at: 18th Sep 2022 14:33
The latest beta attached

the '-' character may have been preventing upload before so hopefully this time it works


Ive placed the latest at the top of this thread
PK

Attachments

Login to view attachments
Kevin Cross
20
Years of Service
User Offline
Joined: 15th Nov 2003
Location: London, UK
Posted: 13th Sep 2022 08:19
Awesome, glad to see the color picker being used, and thanks for the mention
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 4th Oct 2022 22:54 Edited at: 5th Oct 2022 10:01
Now available on itch (the latest which does differ from version in the first post)
https://fubarpk.itch.io/3dextruder
PK
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 27th Nov 2022 09:11
ive been working on getting a manual editing of the 3d objects after
so far i have this function

as the models are made up of cubes then this can pull the face upward the problem is i want to sometimes pull the face up and sometimes the object is rotate so as back is facing
and need to somehow know which one is.

the below code can be used to place a sphere forward of the editing object which isnt what i desire, i want it to
place it always above regardless of how the object is rotated adventualy allowing me to lower or increase the face of
a cube either above or below the cube in question.


any maths experts out there no how to set the cursorobject 90 degrees on the y? axis

PK
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 3rd Dec 2022 14:03
made allot of changes and updated the top downloadable file on here and itch
see first post. Source code is also available on request
PK

Login to post a reply

Server time is: 2024-04-20 05:09:16
Your offset time is: 2024-04-20 05:09:16