Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

3D modeling and texturing (was new 3d scultping app)

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
22 posts • Page 1 of 1
Author
Message
Matteo Azzali
Retired Dev
Retired Dev
User avatar
Posts: 1133
Joined: Thu Sep 23, 2004 4:25 pm

3D modeling and texturing (was new 3d scultping app)

  • Quote

Post by Matteo Azzali » Mon Feb 20, 2006 3:26 pm

I found notice of a new 3d sculpting (like zbrush for windows systems, or blender +mesh sculpt script)
application, since it needs gtkglext-1.2 and seems to need also updated gtkglextmm, I had some
issues trying to make an ebuild.I'll retry after my vacation to make ebuilds for gtglext (updating also opengl-update line
to eselect tool), gtkglextmm and this app, SharpConstruct,
I'll may need some help since I've never done ebuilds for gnome.
Last edited by Matteo Azzali on Sun Mar 05, 2006 12:00 pm, edited 1 time in total.
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Top
felicehome
Apprentice
Apprentice
User avatar
Posts: 217
Joined: Thu Sep 30, 2004 1:26 am

  • Quote

Post by felicehome » Tue Feb 21, 2006 12:27 pm

Hi there, I would be interested in this too.

Unfortunately my knowledge about building ebuilds is very limited.

Keep this thread updated.

Cheers Felice
Top
Matteo Azzali
Retired Dev
Retired Dev
User avatar
Posts: 1133
Joined: Thu Sep 23, 2004 4:25 pm

  • Quote

Post by Matteo Azzali » Sat Mar 04, 2006 2:43 pm

Things are goin slow and I didn't found anyone to help me with those gnome/gtk deps,
so I decided to start from smaller tasks, I'm now trying to ebuild
Texturize and Resynthetyzer,
two really useful plungins for texture creation in gimp.
For Texturizer, I have an ebuild ready, for Resynthesizer (that's the most interesting) I have some issue
cause it has no configure file and wants to install to /var/tmp/portage/resynthesizer.... 8O
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Top
Matteo Azzali
Retired Dev
Retired Dev
User avatar
Posts: 1133
Joined: Thu Sep 23, 2004 4:25 pm

  • Quote

Post by Matteo Azzali » Sat Mar 04, 2006 8:33 pm

/usr/local/portage/media-gfx/gimp-texturize/gimp-texturize-2.0.ebuild :

Code: Select all

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-texturize/gimp-texturize-2.0.ebuild,v 1.2 2006/01/12 23:40:28 compnerd Exp $

inherit flag-o-matic libtool eutils fdo-mime alternatives

DESCRIPTION="Texturizer plugin for GNU Image Manipulation Program"
HOMEPAGE="http://www.gimp.org/"

SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
S=${WORKDIR}/${PN}
LICENSE="GPL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=media-gfx/gimp"
DEPEND="${RDEPEND}"

src_unpack() {

        unpack ${A}

        cd ${S}
}

src_compile() {
        econf || die "configure failed"
        emake || die "emake failed"
}

src_install() {
        make DESTDIR=${D} install || die "install failed"
}
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Top
Matteo Azzali
Retired Dev
Retired Dev
User avatar
Posts: 1133
Joined: Thu Sep 23, 2004 4:25 pm

  • Quote

Post by Matteo Azzali » Sun Mar 05, 2006 12:07 pm

/usr/local/portage/media-gfx/resynthesizer/resynthesizer-0.14.ebuild :

Code: Select all

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/resynthesizer/resynthesizer-0.14.ebuild,v 1.2 2006/01/12 23:40:28 compnerd Exp $

inherit flag-o-matic libtool eutils fdo-mime alternatives

DESCRIPTION="Resynthesizer plugin for GNU Image Manipulation Program"
HOMEPAGE="http://www.gimp.org/"

SRC_URI="http://www.logarithmic.net/pfh-files/${PN}/${P}.tar.gz"
S=${WORKDIR}/${P}
LICENSE="GPL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=media-gfx/gimp"
DEPEND="${RDEPEND}"

src_unpack() {

        unpack ${A}
        cd ${S}
        sed -i -e "s/gimptool/gimptool-2.0/g" Makefile
        sed -i -e "s/install-bin/install-admin-bin/g" Makefile
        sed -i -e "s/install-script/install-admin-script/g" Makefile
}

src_compile() {
        emake || die "emake failed"
}

src_install() {
       make DESTDIR=${D} install || die "install failed"
}
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Top
Matteo Azzali
Retired Dev
Retired Dev
User avatar
Posts: 1133
Joined: Thu Sep 23, 2004 4:25 pm

  • Quote

Post by Matteo Azzali » Sun Mar 05, 2006 1:14 pm

Ok, now we have the ebuild (and dependancies) for SharpConstruct, just a note
all the opengl settings/unsettings in gtkglext ebuild is trash
(you can notice an error at emerge start, if you fix the ebuild of gtkglext givin eselect opengl set xorg-x11 at start,
then gtkglextmm will not emerge, you are warned). Other than that, gtkglextmm need modular X change.

/usr/local/portage/x11-libs/gtkglext/gtkglext-1.2.0.ebuild: already in portage



/usr/local/portage/dev-cpp/gtkglextmm/gtkglextmm-1.2.0.ebuild :
Better version at http://bugs.gentoo.org/show_bug.cgi?id=125077, many thanks to r_meyer.
Last edited by Matteo Azzali on Wed Mar 29, 2006 10:10 pm, edited 10 times in total.
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Top
Matteo Azzali
Retired Dev
Retired Dev
User avatar
Posts: 1133
Joined: Thu Sep 23, 2004 4:25 pm

  • Quote

Post by Matteo Azzali » Sun Mar 05, 2006 1:28 pm

/usr/local/portage/media-gfx/sharpconstruct/sharpconstruct-0.11.ebuild

Code: Select all

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/sharpconstruct/sharpconstruct-0.11.ebuild,v 1.3 2005/12/24 23:37:10 mattepiu Exp $

inherit gnome2 eutils

DESCRIPTION="3D Sculpting Application"
HOMEPAGE="http://sharp3d.sourceforge.net/mediawiki/index.php/Main_Page"
SRC_URI="mirror://sourceforge/sharp3d/${P}.tar.bz2"

SLOT="0"
LICENSE="GPL-2 LGPL-2.1"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=""
DEPEND="${RDEPEND}
        >=dev-cpp/gtkglextmm-1.2.0
        >=x11-libs/gtk+-2.8.0
        >=dev-cpp/gtkmm-2.8.0
        >=dev-cpp/libglademm-2.6.0"

src_unpack() {
        unpack ${A}

        cd ${S}
}

src_compile() {
        ./configure --prefix=/usr/ || die "failed to configure"
        make || die "failed to compile"
}

src_install() {
        make DESTDIR=${D} install || die "failed to install"
        insinto /usr/share/icons/hicolor/64x64/apps
        newins ${WORKDIR}/${P}/share/sharpconstruct/interface/icon.png sharpconstruct.png

}
possible dependancy on libglademm (linking_lib found , true dep, added).

Emerge, then from console do:

Code: Select all

sharpconstruct
I'm goin to try now, bye, enjoy!
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Top
Matteo Azzali
Retired Dev
Retired Dev
User avatar
Posts: 1133
Joined: Thu Sep 23, 2004 4:25 pm

  • Quote

Post by Matteo Azzali » Mon Mar 06, 2006 1:49 pm

Nobody tried??????
:cry: ...or... better.... :-////
please at least one reporting if it's working or not....
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Top
richard.xsi
n00b
n00b
Posts: 28
Joined: Fri Apr 22, 2005 4:48 am

  • Quote

Post by richard.xsi » Mon Mar 06, 2006 3:32 pm

Matteo Azzali wrote:Nobody tried??????
:cry: ...or... better.... :-////
please at least one reporting if it's working or not....
try it now.

hope it won't take too much time to compile because my laptop is hot now :D
Top
richard.xsi
n00b
n00b
Posts: 28
Joined: Fri Apr 22, 2005 4:48 am

  • Quote

Post by richard.xsi » Mon Mar 06, 2006 4:21 pm

works well here and i need to dig the documents to learn how to use it.

thanks for your ebuilds :D
Top
Matteo Azzali
Retired Dev
Retired Dev
User avatar
Posts: 1133
Joined: Thu Sep 23, 2004 4:25 pm

  • Quote

Post by Matteo Azzali » Mon Mar 06, 2006 7:06 pm

Thanks for the feedback. I'll restart to crawl the web for other interesting things now.
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Top
Matteo Azzali
Retired Dev
Retired Dev
User avatar
Posts: 1133
Joined: Thu Sep 23, 2004 4:25 pm

  • Quote

Post by Matteo Azzali » Wed Mar 29, 2006 10:11 pm

Updated (and bumped) since gtkglext is now in portage and gtkglextmm has better ebuild now (thanks to r_meyer).
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Top
bakaohki
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 129
Joined: Thu Jul 14, 2005 7:12 pm
Location: Hungary

  • Quote

Post by bakaohki » Thu Mar 30, 2006 8:12 pm

I tried Sharpconstruct a while ago, but let's face the facts: it is no Zbrush. I can box-modell a head with Wings and that will be a zillion times nicer, and as for texture import/export, and other features it has a long long way to go. Til then I'll stick with Blender and Wings but it is an app to keep an eye on.
Top
Matteo Azzali
Retired Dev
Retired Dev
User avatar
Posts: 1133
Joined: Thu Sep 23, 2004 4:25 pm

  • Quote

Post by Matteo Azzali » Fri Mar 31, 2006 9:13 pm

Yes, it's no Zbrush for modeling, as there aren't zspheres and other tools to models.
But is much nearer to Zbrush for detailing a model, you just create your model in blender/wings/whatever you want,
then export as .obj, load in SharpConstruct and start adding fine details.
Adaptive detailing is also in the way (in cvs right now), and there's nothing better (in OSS) for easy and fast creation of
high-res detailed model for normal maps generation (the process to create normal maps can be done in
blender with BRayBaker).
IMHO, better to concentrate on the things that are missing in the other modelers for now (mesh detailing),
other things as mesh construction can come later...
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Top
radagast
Apprentice
Apprentice
User avatar
Posts: 217
Joined: Sat Mar 20, 2004 1:54 am
Location: sydney, .au
Contact:
Contact radagast
Website

  • Quote

Post by radagast » Wed May 10, 2006 12:46 pm

hmm.
after two years i still don't really understand portage.

i've just tried your resynthesizer ebuild and i got
"No package manifest found"
Top
01mf02
Veteran
Veteran
User avatar
Posts: 1070
Joined: Sun Nov 21, 2004 3:14 pm
Location: Innsbruck, Austria

  • Quote

Post by 01mf02 » Wed May 10, 2006 7:18 pm

Code: Select all

ebuild /usr/local/portage/media-gfx/resynthesizer/resynthesizer-0.14.ebuild digest
Top
Matteo Azzali
Retired Dev
Retired Dev
User avatar
Posts: 1133
Joined: Thu Sep 23, 2004 4:25 pm

  • Quote

Post by Matteo Azzali » Wed May 10, 2006 7:49 pm

radagast wrote:hmm.
after two years i still don't really understand portage.

i've just tried your resynthesizer ebuild and i got
"No package manifest found"
You should search some "portage overlay" howto: portage is easy but you need to know some things....
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Top
radagast
Apprentice
Apprentice
User avatar
Posts: 217
Joined: Sat Mar 20, 2004 1:54 am
Location: sydney, .au
Contact:
Contact radagast
Website

  • Quote

Post by radagast » Wed May 10, 2006 10:03 pm

01mf02 wrote:

Code: Select all

ebuild /usr/local/portage/media-gfx/resynthesizer/resynthesizer-0.14.ebuild digest
that was it, thanks.

the ebuild seems good now, but i think the package is broken. maybe it's an AMD64 thing. i'll see if i can get anywhere with the author's source...

Code: Select all

/usr/include/pango-1.0/pango/pangocairo.h:62: error: variable or field `pango_cairo_update_context' declared void
/usr/include/pango-1.0/pango/pangocairo.h:62: error: `cairo_t' was not declared in this scope
/usr/include/pango-1.0/pango/pangocairo.h:62: error: `cr' was not declared in this scope
/usr/include/pango-1.0/pango/pangocairo.h:63: error: expected primary-expression before '*' token
/usr/include/pango-1.0/pango/pangocairo.h:63: error: `context' was not declared in this scope
/usr/include/pango-1.0/pango/pangocairo.h:63: error: initializer expression list treated as compound expression
/usr/include/pango-1.0/pango/pangocairo.h:66: error: expected `,' or `...' before '*' token
/usr/include/pango-1.0/pango/pangocairo.h:66: error: ISO C++ forbids declaration of `cairo_font_options_t' with no type
/usr/include/pango-1.0/pango/pangocairo.h:67: error: expected init-declarator before '*' token
/usr/include/pango-1.0/pango/pangocairo.h:67: error: expected `,' or `;' before '*' token
< that error repeated eight more times >

In file included from /usr/include/gtk-2.0/gdk/gdk.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from resynth.cc:28:
/usr/include/gtk-2.0/gdk/gdkcairo.h:29: error: expected constructor, destructor, or type conversion before '*' token
/usr/include/gtk-2.0/gdk/gdkcairo.h:29: error: expected `,' or `;' before '*' token
/usr/include/gtk-2.0/gdk/gdkcairo.h:31: error: variable or field `gdk_cairo_set_source_color' declared void
/usr/include/gtk-2.0/gdk/gdkcairo.h:31: error: `cairo_t' was not declared in this scope
/usr/include/gtk-2.0/gdk/gdkcairo.h:31: error: `cr' was not declared in this scope/usr/include/gtk-2.0/gdk/gdkcairo.h:32: error: expected primary-expression before '*' token
< a very similar error repeated three more times >

/usr/include/gtk-2.0/gdk/gdkcairo.h:41: error: `region' was not declared in this scope
/usr/include/gtk-2.0/gdk/gdkcairo.h:41: error: initializer expression list treated as compound expression
In file included from /usr/include/gtk-2.0/gdk/gdk.h:35,
                 from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from resynth.cc:28:
/usr/include/gtk-2.0/gdk/gdkdrawable.h:196: error: ISO C++ forbids declaration of `cairo_surface_t' with no type
/usr/include/gtk-2.0/gdk/gdkdrawable.h:196: error: expected `;' before '*' token
In file included from /usr/include/gtk-2.0/gdk/gdk.h:50,
                 from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from resynth.cc:28:
/usr/include/gtk-2.0/gdk/gdkscreen.h:51: error: ISO C++ forbids declaration of `cairo_font_options_t' with no type
/usr/include/gtk-2.0/gdk/gdkscreen.h:51: error: expected `;' before '*' token
/usr/include/gtk-2.0/gdk/gdkscreen.h:106: error: expected `,' or `...' before '*' token
/usr/include/gtk-2.0/gdk/gdkscreen.h:106: error: ISO C++ forbids declaration of `cairo_font_options_t' with no type
/usr/include/gtk-2.0/gdk/gdkscreen.h:107: error: expected init-declarator before '*' token
/usr/include/gtk-2.0/gdk/gdkscreen.h:107: error: expected `,' or `;' before '*' token
resynth.cc:260: warning: 'void click_func(GtkWidget*, void*)' defined but not usedresynth.cc:265: warning: 'gint delete_func(GtkWidget*, GdkEvent*, void*)' defined but not used
make: *** [resynth] Error 1

!!! ERROR: media-gfx/resynthesizer-0.14 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

<EDIT>
It didn't compile from the tar package either (some gtk - cairo problem?) i had to do this

Code: Select all

>ln -s /usr/include/cairo/cairo.h /usr/include/cairo.h
>ln -s /usr/include/cairo/cairo-features.h /usr/include/cairo-features.h
it still wouldn't compile - i got a lot of "resynth.c:1169: error: structure has no member named `id'"

but your ebuild worked, and resynthesize has appeared in my Script-Fu, and it mostly works.

so I thankyou very much.
Top
Matteo Azzali
Retired Dev
Retired Dev
User avatar
Posts: 1133
Joined: Thu Sep 23, 2004 4:25 pm

  • Quote

Post by Matteo Azzali » Thu May 11, 2006 8:13 am

It seesms that your system has issues with cairo include files, you might do a

Code: Select all

equery b /usr/include/pango-1.0/pango/pangocairo.h
to check exactly what package is givin issue.
Should be pango or cairo.Are you using XGL or some other portage overlay that may change cairo?

Here it works fine but it's x86,maybe I should filter out AMD64...... Someone else tested with an AMD64 arch?
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Top
radagast
Apprentice
Apprentice
User avatar
Posts: 217
Joined: Sat Mar 20, 2004 1:54 am
Location: sydney, .au
Contact:
Contact radagast
Website

  • Quote

Post by radagast » Thu May 11, 2006 9:05 am

Matteo Azzali wrote: Here it works fine but it's x86,maybe I should filter out AMD64...... Someone else tested with an AMD64 arch?
yeah...
i equeried all the filed causing errors, the packages are pango-1.10.2 and gtk+-2.8.12
i already suspected gtk+, so i had just upgraded it from 2.8.8, (as well as emul-linux-x86-gtklibs just in case)
neither made any difference.

the only similar problem i've found in these forums is here: http://forums.gentoo.org/viewtopic-t-41 ... color.html
and it is an AMD64 system.

i reckon you could make it ~amd64. it compiles OK, three out of four functions work but 'smart enlarge' has crashed the Gimp two times out of three.
Top
Genjix
Apprentice
Apprentice
Posts: 163
Joined: Thu Jun 23, 2005 7:35 pm

  • Quote

Post by Genjix » Fri Jun 30, 2006 7:21 pm

thanks! found this while trying to get gtkglextmm to work to compile this very app.
Top
System_Failure
n00b
n00b
User avatar
Posts: 63
Joined: Mon Dec 09, 2002 1:09 am
Location: /home/System_Failure/

  • Quote

Post by System_Failure » Tue Feb 27, 2007 10:34 pm

Genjix wrote:thanks! found this while trying to get gtkglextmm to work to compile this very app.
same, ty ty
"I like beaches."
Top
Post Reply

22 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic