- 博客(39)
- 资源 (31)
- 收藏
- 关注
原创 Robust Quasistatic Finite Elements and Flesh Simulation
文章来源: Robust Quasistatic Finite Elements and Flesh Simulation3.Quasistatic Formulation{ 公式xt→=v⃗ \vec{x_t}=\vec{v}以及vt→=M−1f⃗ (t,x⃗ ,t⃗ )\vec{v_t}=M^{-1}\vec{f}(t,\vec{x},\vec{t})中下标tt表示对tt求导 }4.Str
2015-12-25 00:42:03 908
原创 如何安装boost库
详细教程可以参考:http://www.boost.org/doc/libs/1_55_0/more/getting_started/windows.html#id321.下载boosthttp://sourceforge.net/projects/boost/?source=typ_redirect2.解压到目标文件夹我这里解压到D:\work_fil
2015-12-22 09:55:35 2557
原创 SOFA的安装
1.下载https://www.sofa-framework.org/download/打开git bash选择跳到自己的安装目录,我这里的安装目录是D:\work_files然后输入git clone git://scm.gforge.inria.fr/sofa/sofa.git2.在windows上进行cmake的配置https://www.sofa
2015-12-21 20:53:11 4365
原创 maya中将每帧渲染成图片,再用播放器播放
1.polygen菜单栏,window->outliner,选中所有要渲染的物体2.window->Rendering Editors->Hypershadermental ray 里面的materials 选择一个材质,这里选择mi_car_paint_phen_x3.然后右键,assign material to selection4.转到renderi
2015-12-19 06:48:11 1949
原创 MAYA中average normal
有时候模型的法向量会出问题,那么这时候average normal就很有用了选择Polygons菜单项,然后Normals->average normals
2015-12-19 05:16:57 942
原创 mel加载一个物体不同姿态的模型实现动画效果
题目,我从VS导出一个物体的不同姿态生成一系列obj文件然后想通过MAYA MEL来实现这一系列的动画script如下:global proc loadObjs(){ string $pathOfFiles = "G:\\My_Works\\3D\\Physical_based_simulation\\Physical_based_simulation
2015-12-18 22:50:45 1185
原创 SQLite Tutorial 5 : How to Import CSV or Excel file into SQLite database
1.将csv文件导入到SQLite databasea.选择 database->importb.选择数据类型 c.然后在Execute SQL里面执行SELECT * FROM employee就会看到所有结果
2015-12-13 00:27:54 563
原创 SQLite Tutorial 4 : How to export SQLite file into CSV or Excel file
1.导出CSV格式a.右键点击要导出的table名,选择export tableb.然后打开export wizard,打开CSV标签,进行一些设置后,便可以选择保存位置了c.最后打开效果2.导出EXCEL格式跟导出CSV一样,只不过有几个小地方需要该一下1.2.保存的时候,后缀名保存为.xls最后打开来看:
2015-12-13 00:14:44 646
原创 SQLite Tutorial 3 : Working with important SqLite Queries (SELECT, INSERT, DELETE, UPDATE,WHERE...)
1.SELECT a.选择所有数据b.选择某列c.选择多列d.选择某行某列其他WHERE语句WHERE age between 32 and 38WHERE gender='Male'e. 排序默认增序:order by age 降序排列:order by desc2.DELETE语句DELETE F
2015-12-12 23:42:25 503
原创 SQLite Tutorial 2 install free sqlite gui manager in firefox
1.打开firebox,在add-ons里面搜索 sqlite manager , 然后安装2.然后选择Tools->SQLite Manager3. 然后就可以管理自己的数据库了
2015-12-12 23:05:03 486
原创 SQLite Tutorial 1 在ubuntu上安装SQLite 3.8.2
1. 输入sudo apt-get install sqlite3 libsqlite3-dev2.安装完后,会提示这样3.然后我们可以进行一些简单的操作退出 sqlite> .quit创建数据库 seamanj@seamanj-Lenovo-IdeaPad-Y400:~$ sqlite3 company.db创建表格 sql
2015-12-12 21:50:51 516
转载 ubuntu中wine的安装位置
How to find out where is wine’s C: driveby ENCH0 on 9 MARCH 2011 · 8 COMMENTSQUESTION: Where is my wine’s C: drive? SHORT ANSWER: /home/$USER/.wine/drive_c
2015-12-12 14:11:02 3113
原创 Lesson6 how to use HTML QT Widgets
1.拖动一个label2.然后双击修改label的text为:Seamanj's blog3.然后记得把QLabel里面的OpenExternalLinks的勾check上运行,点击就可以打开了
2015-12-12 13:05:27 356
原创 Lesson5 How to open a new window from a pushbutton
1. 右击项目,选择add new->QT->QT Designer Form class,然后template选择Dialog without buttons,将类命名为SecDialog2.然后在主窗口里面拖一个pushbutton,双击修改它的标题为Open Second Win,右击添加clicked slot3.由于要在Mainwindow.cpp里面引用它,所以
2015-12-12 11:50:10 362
原创 lesson 4 Show Messages in Messagebox
1. 拖动一个pushbutton,改名为show message2.增加一个clicked()的slot3.在增加的函数里面写入如下语句void MainWindow::on_pushButton_2_clicked(){ QMessageBox::information(this, tr("The Title"),tr("This is a message "));}
2015-12-12 10:16:48 421
原创 lesson3 Qt Signal and slots (QSlider and QProgressBar)
1. 打开设计窗口,拖动一个滑动条和进度条在窗口里面2.select both,然后选择layout vertically,调整大小3.选择,edit signals/slogs,然后从滑动条拖到进度条,在弹出的窗口中滑动条选择valueChanged,进度条选择setValue4.运行,拖动滑动条,进度条也会变5.如果想要删除signal/slot的话,右
2015-12-12 02:03:25 653
原创 Lesson 2 Create First Qt Program
1.file->new file or project2.template 选择 applications 中的 qt widgets application3.然后我们打开mainwindow.ui文件在设计窗口里面我们拖入一个pushbutton 和 一个label,并把pushbutton的text改成ok4.接下来我们右击ok pushbutton,选择go to
2015-12-12 01:33:33 404
原创 Hessian Matrix
引用于 https://en.wikipedia.org/wiki/Second_partial_derivative_test#Functions_of_many_variablesIn mathematics, the second partial derivative test is a method in multivariable calculus used to determine i
2015-12-09 03:29:12 1542
原创 如何设置ubuntu的PATH环境变量
sudo gedit ~/.profile在该文件最后加上export PATH=/usr/local/cuda-7.5/bin:$PATH# ~/.profile: executed by the command interpreter for login shells.# This file is not read by bash(1), if
2015-12-08 08:06:49 637
原创 Energetically Consistent Invertible Elasticity
文章来源: Energetically Consistent Invertible Elasticity2 Isotropic hyperelasticity 证明 P(F)=UP^(σ)VTP(F)=U\hat{P}(\sigma)V^{T}其实有更简单的证明方法:1.Invertible Finite Elements For Robust Simulation of Large De
2015-12-08 03:18:28 703
原创 组合,聚合,关联,依赖的区别
依赖(Dependency)在C++中体现为局部变量、方法/函数的参数或者是对静态方法的调用图示为:关联(Association)体现在C++中,关联关系是通过成员变量来实现的图示为:聚合(aggregation)体现在C++中,聚合关系通过将被聚合者的(数组)指针作为内部成员来实现的图示为:组合(Composition)体现在C++中,组...
2015-12-07 19:43:42 896
原创 how to install opencv in ubuntu
InstallationMany people are having problem with installing OpenCV even from Ubuntu Software Centre. Here a simple .sh script file get all dependancy files from internet and compile the source fi
2015-12-07 09:50:41 581
原创 va_start, va_list, va_end
/*-----------------------------------------------------SCRNSIZE.C -- Displays screen size in a message box(c) Charles Petzold, 1998-----------------------------------------------------*/#include
2015-12-05 02:13:22 373
原创 关于QT中对窗口中某个widget建类
两种方法建类,当然如果算上纯手工的方法当我没说。第一种file->Qt->Qt Designer Form class然后选择 Widget注意这样创建的widget会有自己的ui文件,这时的ui会替代MainWindow里面的widget第二种:右击project->add new->C++->C++ class->
2015-12-05 01:19:40 859
原创 ubuntu中的大小写
由于最近才使用ubuntu, 算是个菜鸟,今天调试一个别人的程序,由于文件夹大小写的问题一直出错,所以再次强调一下ubuntu系统里面是区分大小写的
2015-12-04 22:25:14 1839
原创 在ubuntu下面安装glew
先敲命令 apt-cache search glew列出来的项目如下:然后将列表中的所有项目都安装sudo apt-get install libglew-dbg libglew-dev libglew1.10 libglewmx-dbg libglewmx-dev libglewmx1.10 glew-utils
2015-12-04 19:13:59 17369 6
原创 QT+CUDA7.5+UBUNTU14.04
接着前面有篇文章介绍在windows上面对他们进行合成,这篇文章我们介绍下在ubuntu上面对其合成。程序用的是brown大学里面snow-master,该project包括了几个项目,其中有个CUDA_helloworld刚好可以拿来练手CUDA在ubuntu上面的安装我就不多介绍,攻略帖一大堆下面开始介绍下这个项目main.cpp内容如下:#
2015-12-03 04:24:19 2461 2
原创 qt pro 里面变量的引用
VAR = foobar => Assign value to variable when qmake is run$$VAR => QMake variable's value at the time qmake is run$${VAR} => QMake variable's value at the time qmake is run (identical but enclosed to
2015-12-03 03:44:45 2384
原创 ubuntu 常用命令
复制一个目录到另外一个目录sudo cp -avr /home/seamanj/Downloads/glm /usr/local-a : Preserve the specified attributes such as directory an file mode, ownership, timestamps, if possible additional attri
2015-12-03 02:12:23 301
原创 ubutun里面用命令行安装软件
Installing via TerminalInstalling from terminal can be done in several ways:APTYou can search for an application. The command to search for software is:apt-cache search Adding Repositories:
2015-12-03 01:23:58 727
Farthest Sampling on 3D meshes with mesh kept based on diffusion distance
2016-08-13
Fast Marching on 3D Meshes with diffusion distance
2016-08-13
Farthest Sampling on 3D meshes with mesh kept
2016-08-03
princal component analysis implemented in matlab
2016-07-09
as-conformal-as-possible surface registration
2016-07-07
softmax regression
2015-11-20
3D_Shader_CubeEnvMapping.rar
2013-08-29
3D_Math_Solve_Matrix_Inverse_by_Seamanj.rar
2013-03-06
3D_Math_Quaternion_by_Seamanj.rar
2013-03-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人